diff --git a/charts/blocky/Chart.yaml b/charts/blocky/Chart.yaml index 8159465d..e866aa37 100644 --- a/charts/blocky/Chart.yaml +++ b/charts/blocky/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v0.5" description: DNS proxy as ad-blocker for local network name: blocky -version: 2.2.1 +version: 2.2.2 keywords: - blocky - dbs diff --git a/charts/blocky/templates/deployment.yaml b/charts/blocky/templates/deployment.yaml index a3cf349d..457aca6d 100644 --- a/charts/blocky/templates/deployment.yaml +++ b/charts/blocky/templates/deployment.yaml @@ -37,6 +37,7 @@ spec: - name: config mountPath: /app/config.yml subPath: config.yml + readOnly: true ports: ports: - name: monitoring @@ -70,8 +71,14 @@ spec: {{- toYaml .Values.resources | nindent 12 }} volumes: - name: config - configMap: - name: {{ template "blocky.fullname" . }} + projected: + defaultMode: 0444 + sources: + - configMap: + name: {{ template "blocky.fullname" . }} + items: + - key: config.yml + path: config.yml {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}