mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 15:59:45 +00:00
Add custom configuration for nip.io server
This commit is contained in:
parent
4c76452571
commit
4d1f2377dd
1 changed files with 23 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue