[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"
description: DNS proxy as ad-blocker for local network
name: blocky
version: 2.2.1
version: 2.2.2
keywords:
- blocky
- dbs

View File

@ -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:
projected:
defaultMode: 0444
sources:
- configMap:
name: {{ template "blocky.fullname" . }}
items:
- key: config.yml
path: config.yml
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}