Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2af46d1
feat(bind9): Add bind acl directory
jon-nfc Jan 9, 2026
8f37be9
feat(bind9): Make git-ops container part of pod and not init
jon-nfc Jan 9, 2026
029f45e
fix(bind9): Correct git-ops vole mount path for git
jon-nfc Jan 9, 2026
183c951
feat(bind9): Make git-ops task be within loop
jon-nfc Jan 9, 2026
a4222b4
fix(bind9): Correct git-ops deployment patch key
jon-nfc Jan 9, 2026
70acb0c
fix(bind9): typo on protocol names
jon-nfc Jan 9, 2026
581e1e1
fix(bind9): volume subpaths must be relative
jon-nfc Jan 9, 2026
0f5aa72
fix(bind9): correct vm name
jon-nfc Jan 9, 2026
1ec6778
fix(bind9): remove ports decl from comp git-ops
jon-nfc Jan 9, 2026
f13b7ef
fix(bind9): Correct git-ops mem req
jon-nfc Jan 9, 2026
a2b7f01
fix(bind9): git-ops cont requires apk update to install
jon-nfc Jan 9, 2026
6799d46
refactor(bind9): RM nl from apk add within git-ops script
jon-nfc Jan 9, 2026
4afb496
refactor(bind9): correct git-ops script 'if'
jon-nfc Jan 9, 2026
73d100d
refactor(bind9): correct git-ops script 'add missing sleep'
jon-nfc Jan 9, 2026
37e74ae
feat(bind9): Add trace to git-ops script
jon-nfc Jan 9, 2026
499e80e
refactor(bind9): correct git-ops script 'if'
jon-nfc Jan 9, 2026
acc8970
refactor(bind9): correct git-ops script 'clone empty dir'
jon-nfc Jan 9, 2026
47212a5
refactor(bind9): correct git-ops script 'ssh key file name'
jon-nfc Jan 9, 2026
10631bc
refactor(bind9): correct git-ops script 'create key dir'
jon-nfc Jan 9, 2026
88f3b0d
fix(bind9): Add home dir to git-ops cont
jon-nfc Jan 9, 2026
c258990
fix(bind9): correct git-ops script 'path var'
jon-nfc Jan 9, 2026
f7d51c6
fix(bind9): correct git-ops script 'more var fixes'
jon-nfc Jan 9, 2026
8a929f5
fix(bind9): correct git-ops script 'add protocol to git'
jon-nfc Jan 9, 2026
fb58188
fix(bind9): correct git-ops script 'ssh repo is divided by :'
jon-nfc Jan 9, 2026
542453c
fix(bind9): correct git-ops script 'add host key'
jon-nfc Jan 9, 2026
ef38666
fix(bind9): correct git-ops script 'ssh path sep is colon'
jon-nfc Jan 9, 2026
3cc0b18
fix(bind9): correct git-ops script 'add uname git to clone'
jon-nfc Jan 9, 2026
7eb3089
fix(bind9): correct git-ops script 'cat cert var'
jon-nfc Jan 9, 2026
c10da6c
feat(bind9): git-ops script 'auth check'
jon-nfc Jan 9, 2026
af6a9b4
feat(bind9): git-ops script 'add bind logs mount'
jon-nfc Jan 9, 2026
f809d7b
refactor(bind9): git-ops to contain init cont
jon-nfc Jan 9, 2026
7e740f4
feat(bind9): git-ops Add support for specifying tags to fetch latest …
jon-nfc Jan 10, 2026
fa0e6ab
feat(bind9): Add component rndc
jon-nfc Jan 10, 2026
5da10da
feat(bind9): Add component extra-conf
jon-nfc Jan 10, 2026
61f413e
chore(bind9): Label and name cleanup
jon-nfc Jan 10, 2026
e9dacaa
feat(bind9): update image 1.0.0-rc4 -> 1.0.0
jon-nfc Jan 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions manifests/bind9/base/Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: bind9
app.kubernetes.io/name: dns
name: dns
app.kubernetes.io/name: bind
app.kubernetes.io/part-of: bind
name: bind
spec:
selector:
matchLabels:
app.kubernetes.io/component: bind9
app.kubernetes.io/name: dns
app.kubernetes.io/name: bind
app.kubernetes.io/part-of: bind
replicas: 1
minReadySeconds: 10
template:
metadata:
labels:
app.kubernetes.io/component: bind9
app.kubernetes.io/name: dns
app.kubernetes.io/name: bind
app.kubernetes.io/part-of: bind
spec:
terminationGracePeriodSeconds: 10
affinity: {}
containers:

- name: dns
- name: bind
image: nofusscomputing/bind:dev
resources:
limits:
Expand All @@ -37,32 +37,35 @@ spec:
ports:
- containerPort: 53
name: dns-tcp
protocol: tcp
protocol: TCP
- containerPort: 53
name: dns-udp
protocol: udp
protocol: UDP

volumeMounts:
- name: data
mountPath: /etc/bind/conf.d/external
subPath: /git/conf/conf.d/external
- name: /git/conf/conf.d/internal
subPath: git/conf/conf.d/external
- name: data
mountPath: /etc/bind/conf.d/acl
subPath: git/conf/conf.d/acl
- name: data
mountPath: /etc/bind/conf.d/internal
subPath: /git/conf/conf.d/internal
subPath: git/conf/conf.d/internal

- name: data
mountPath: /var/bind/dyn
subPath: /git/zones/dyn
subPath: git/zones/dyn
- name: data
mountPath: /var/bind/pri
subPath: /git/zones/pri
subPath: git/zones/pri
- name: data
mountPath: /var/bind/sec
subPath: /git/zones/sec
subPath: git/zones/sec

- mountPath: /var/log
name: data
subPath: /logs
subPath: logs

priorityClassName: cluster-low
tolerations: []
Expand Down
4 changes: 2 additions & 2 deletions manifests/bind9/base/PVC-bind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app.kubernetes.io/component: bind9
app.kubernetes.io/name: dns
app.kubernetes.io/name: bind
app.kubernetes.io/part-of: bind
name: bind
spec:
volumeMode: Filesystem
Expand Down
12 changes: 6 additions & 6 deletions manifests/bind9/base/Service-bind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ kind: Service
metadata:
name: bind
labels:
app.kubernetes.io/component: bind9
app.kubernetes.io/name: dns
app.kubernetes.io/name: bind
app.kubernetes.io/part-of: bind
spec:
selector:
app.kubernetes.io/component: bind9
app.kubernetes.io/name: dns
app.kubernetes.io/name: bind
app.kubernetes.io/part-of: bind
ports:
- name: tcp
port: 53
protcol: tcp
protocol: TCP
targetPort: dns-tcp
- name: udp
port: 53
protocol: udp
protocol: UDP
targetPort: dns-udp
48 changes: 48 additions & 0 deletions manifests/bind9/components/extra-conf/Deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---

apiVersion: apps/v1
kind: Deployment
metadata:
name: bind
spec:
template:

spec:

initContainers:

- name: extra-conf
image: alpine:3.23.2
command:
- sh
- -c
- |
echo "Start init";
rm -frv /etc/bind/conf.d/extra/*;
cp -frv /etc-bind-extra/* /etc/bind/conf.d/extra/;

resources:
limits:
cpu: 150m
memory: 500Mi
requests:
cpu: 50m
memory: 150Mi

volumeMounts:

- name: data
mountPath: /etc/bind/conf.d/extra
subPath: extra/

- name: rndc
mountPath: "/etc-bind-extra/rndc.conf"
subPath: rndc.conf

volumes:
- name: rndc
configMap:
name: rndc-conf
items:
- key: "rndc.conf"
path: "rndc.conf"
8 changes: 8 additions & 0 deletions manifests/bind9/components/extra-conf/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component


patches:

- path: Deployment.yaml
Loading
Loading