charts: dns-zone-controller configrable
diff --git a/charts/dns-ns-controller/templates/install.yaml b/charts/dns-ns-controller/templates/install.yaml
index 2c53639..57d9c82 100644
--- a/charts/dns-ns-controller/templates/install.yaml
+++ b/charts/dns-ns-controller/templates/install.yaml
@@ -222,7 +222,7 @@
volumes:
- name: zone-configs
persistentVolumeClaim:
- claimName: dns-configs
+ claimName: {{ .Values.volume.claimName }}
containers:
- args:
- --secure-listen-address=0.0.0.0:8443
@@ -254,10 +254,11 @@
- --config-dir=/etc/pcloud/dns-zone-configs
command:
- /manager
- image: giolekva/dns-ns-controller:latest
+ image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- name: zone-configs
- mountPath: /etc/pcloud/dns-zone-configs
+ mountPath: {{ .Values.volume.mountPath }}
livenessProbe:
httpGet:
path: /healthz
diff --git a/charts/dns-ns-controller/values.yaml b/charts/dns-ns-controller/values.yaml
index 790697e..b4b4230 100644
--- a/charts/dns-ns-controller/values.yaml
+++ b/charts/dns-ns-controller/values.yaml
@@ -1,6 +1,8 @@
image:
- repository: giolekva/rpuppy-arm
+ repository: giolekva/dns-ns-controller
tag: latest
pullPolicy: Always
installCRDs: false
-pvcName: ""
+volume:
+ claimName: data
+ mountPath: /etc/zone-configs