mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[blocky] use projected volume for configmap (#189)
* use projected volume on configmap * bump chart version
This commit is contained in:
parent
9819265d4e
commit
6b39213862
@ -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
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user