Update helm charts (deployments and RBAC)

This commit is contained in:
hstanley
2019-07-03 10:56:09 +01:00
parent 361bea4373
commit 8cf105726f
7 changed files with 24 additions and 0 deletions
@@ -16,8 +16,12 @@ rules:
- apiGroups:
- ""
resources:
{{- if eq .Values.reloader.watchSecrets true }}
- secrets
{{- end }}
{{- if eq .Values.reloader.watchConfigMaps true }}
- configmaps
{{- end }}
verbs:
- list
- get
@@ -93,6 +93,12 @@ spec:
- "--auto-annotation"
- "{{ .Values.reloader.custom_annotations.auto }}"
{{- end }}
{{- if eq .Values.reloader.watchSecrets true }}
- "--resources-to-watch=secrets"
{{- end }}
{{- if eq .Values.reloader.watchConfigMaps true }}
- "--resources-to-watch=configMaps"
{{- end }}
{{- end }}
serviceAccountName: {{ template "reloader-serviceAccountName" . }}
{{- if eq .Values.reloader.readOnlyRootFileSystem true }}
@@ -16,8 +16,12 @@ rules:
- apiGroups:
- ""
resources:
{{- if .Values.reloader.watchSecrets }}
- secrets
{{- end }}
{{- if .Values.reloader.watchConfigMaps }}
- configmaps
{{- end }}
verbs:
- list
- get
@@ -4,6 +4,8 @@ kubernetes:
host: https://kubernetes.default
reloader:
watchSecrets: true
watchConfigMaps: true
watchGlobally: true
# Set to true if you have a pod security policy that enforces readOnlyRootFilesystem
readOnlyRootFileSystem: false
@@ -37,5 +37,8 @@ spec:
image: "stakater/reloader:v0.0.31"
imagePullPolicy: IfNotPresent
name: reloader
args:
- "--resources-to-watch=secrets"
- "--resources-to-watch=configMaps"
serviceAccountName: reloader
+3
View File
@@ -41,6 +41,9 @@ spec:
image: "stakater/reloader:v0.0.31"
imagePullPolicy: IfNotPresent
name: reloader
args:
- "--resources-to-watch=secrets"
- "--resources-to-watch=configMaps"
serviceAccountName: reloader
---
@@ -4,6 +4,8 @@ kubernetes:
host: https://kubernetes.default
reloader:
watchSecrets: true
watchConfigMaps: true
watchGlobally: true
# Set to true if you have a pod security policy that enforces readOnlyRootFilesystem
readOnlyRootFileSystem: false