mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-20 04:26:28 +00:00
Update helm charts (deployments and RBAC)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user