mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 19:39:43 +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
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
@ -16,6 +35,10 @@ spec:
|
|||
- image: shouptech/nip.io
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nip-io
|
||||
volumeMounts:
|
||||
- name: backend-conf
|
||||
mountPath: /usr/local/bin/backend.conf
|
||||
subPath: backend.conf
|
||||
ports:
|
||||
- containerPort: 53
|
||||
name: dns-tcp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue