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

Add custom configuration for nip.io server

This commit is contained in:
Emma 2020-02-02 09:27:28 -07:00
parent 4c76452571
commit 4d1f2377dd
No known key found for this signature in database
GPG key ID: 68434BFE85360755

View file

@ -1,3 +1,22 @@
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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
@ -16,6 +35,10 @@ spec:
- image: shouptech/nip.io - image: shouptech/nip.io
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: nip-io name: nip-io
volumeMounts:
- name: backend-conf
mountPath: /usr/local/bin/backend.conf
subPath: backend.conf
ports: ports:
- containerPort: 53 - containerPort: 53
name: dns-tcp name: dns-tcp