Sync with upstream helm/charts/stable/reloader

Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>
This commit is contained in:
Marcos Estevez
2019-10-10 14:29:51 +02:00
parent 5265c14760
commit 734b33ba55
3 changed files with 16 additions and 2 deletions
@@ -88,7 +88,6 @@ spec:
name: tmp-volume
{{- end }}
args:
{{- if .Values.reloader.ignoreSecrets }}
- "--resources-to-ignore=secrets"
{{- end }}
@@ -115,6 +114,9 @@ spec:
resources:
{{ toYaml .Values.reloader.deployment.resources | indent 10 }}
{{- end }}
{{- if .Values.reloader.deployment.securityContext }}
securityContext: {{ toYaml .Values.reloader.deployment.securityContext | nindent 8 }}
{{- end }}
serviceAccountName: {{ template "reloader-serviceAccountName" . }}
{{- if eq .Values.reloader.readOnlyRootFileSystem true }}
volumes:
@@ -1,6 +1,9 @@
{{- if .Values.reloader.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets: {{ toYaml .Values.global.imagePullSecrets | nindent 2 }}
{{- end }}
metadata:
labels:
{{ include "reloader-labels.chart" . | indent 4 }}
@@ -1,4 +1,10 @@
# Generated from deployments/kubernetes/templates/chart/values.yaml.tmpl
global:
## Reference to one or more secrets to be used when pulling images
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
imagePullSecrets: []
# - name: "image-pull-secret"
kubernetes:
host: https://kubernetes.default
@@ -62,6 +68,9 @@ reloader:
# cpu: "10m"
# memory: "128Mi"
resources: {}
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext: {}
# runAsUser: 1000
rbac:
enabled: true
@@ -73,7 +82,7 @@ reloader:
labels: {}
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
name:
name:
# Optional flags to pass to the Reloader entrypoint
# Example:
# custom_annotations: