1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 13:39:42 +00:00

Move things to subfolders

This commit is contained in:
Emma 2020-02-02 19:18:50 -07:00
parent 027759ecf6
commit 1ad408129e
No known key found for this signature in database
GPG key ID: 68434BFE85360755
6 changed files with 63 additions and 68 deletions

View file

@ -49,31 +49,3 @@ spec:
hostPath:
path: /etc/localtime
type: File
---
kind: Service
apiVersion: v1
metadata:
name: hass
spec:
selector:
app: hass
ports:
- protocol: TCP
port: 80
targetPort: hass-http
name: http
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hass
spec:
rules:
- host: hass.shoup.io
http:
paths:
- backend:
serviceName: hass
servicePort: http
path: /

View file

@ -0,0 +1,26 @@
kind: Service
apiVersion: v1
metadata:
name: hass
spec:
selector:
app: hass
ports:
- protocol: TCP
port: 80
targetPort: hass-http
name: http
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hass
spec:
rules:
- host: hass.shoup.io
http:
paths:
- backend:
serviceName: hass
servicePort: http
path: /

View file

@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nip-io
data:
backend.conf: |
[main]
domain=lcl.home.shoup.io
ttl=432000
ipaddress=127.0.0.1
[soa]
id=1
hostmaster=hostmaster@lcl.home.shoup.io
ns=ns1.lcl.home.shoup.io
[nameservers]
ns1.lcl.home.shoup.io=127.0.0.1
ns2.lcl.home.shoup.io=127.0.0.1
[blacklist]

View file

@ -1,23 +1,3 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nip-io
data:
backend.conf: |
[main]
domain=lcl.home.shoup.io
ttl=432000
ipaddress=127.0.0.1
[soa]
id=1
hostmaster=hostmaster@lcl.home.shoup.io
ns=ns1.lcl.home.shoup.io
[nameservers]
ns1.lcl.home.shoup.io=127.0.0.1
ns2.lcl.home.shoup.io=127.0.0.1
[blacklist]
---
apiVersion: apps/v1
kind: Deployment
metadata:
@ -51,23 +31,3 @@ spec:
- name: config
configMap:
name: nip-io
---
kind: Service
apiVersion: v1
metadata:
name: nip-io
spec:
type: NodePort
selector:
app: nip-io
ports:
- name: dns-tcp
protocol: TCP
port: 53
nodePort: 31053
targetPort: dns-tcp
- name: dns-udp
protocol: UDP
port: 53
nodePort: 31053
targetPort: dns-udp

View file

@ -0,0 +1,19 @@
kind: Service
apiVersion: v1
metadata:
name: nip-io
spec:
type: NodePort
selector:
app: nip-io
ports:
- name: dns-tcp
protocol: TCP
port: 53
nodePort: 31053
targetPort: dns-tcp
- name: dns-udp
protocol: UDP
port: 53
nodePort: 31053
targetPort: dns-udp