mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +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"
|
||||
description: DNS proxy as ad-blocker for local network
|
||||
name: blocky
|
||||
version: 2.2.1
|
||||
version: 2.2.2
|
||||
keywords:
|
||||
- blocky
|
||||
- dbs
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user