[blocky] use projected volume for configmap (#189)

* use projected volume on configmap

* bump chart version
This commit is contained in:
Devin Buhl 2020-03-29 13:19:04 -04:00 committed by GitHub
parent 9819265d4e
commit 6b39213862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v0.5" appVersion: "v0.5"
description: DNS proxy as ad-blocker for local network description: DNS proxy as ad-blocker for local network
name: blocky name: blocky
version: 2.2.1 version: 2.2.2
keywords: keywords:
- blocky - blocky
- dbs - dbs

View File

@ -37,6 +37,7 @@ spec:
- name: config - name: config
mountPath: /app/config.yml mountPath: /app/config.yml
subPath: config.yml subPath: config.yml
readOnly: true
ports: ports:
ports: ports:
- name: monitoring - name: monitoring
@ -70,8 +71,14 @@ spec:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumes: volumes:
- name: config - name: config
configMap: projected:
defaultMode: 0444
sources:
- configMap:
name: {{ template "blocky.fullname" . }} name: {{ template "blocky.fullname" . }}
items:
- key: config.yml
path: config.yml
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}