We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab431e8 commit f8661d8Copy full SHA for f8661d8
templates/cronjob.yaml
@@ -64,6 +64,9 @@ spec:
64
{{- toYaml .Values.garbageCollect.resources | nindent 16 }}
65
{{- end }}
66
env: {{ include "docker-registry.envs" . | nindent 16 }}
67
+ {{- with .Values.garbageCollect.extraEnvVars }}
68
+ {{- toYaml . | nindent 16 }}
69
+ {{- end -}}
70
{{- if .Values.containerSecurityContext.enabled }}
71
securityContext: {{ omit .Values.containerSecurityContext "enabled" | toYaml | nindent 16 }}
72
values.yaml
@@ -262,3 +262,7 @@ garbageCollect:
262
# requests:
263
# cpu: 100m
264
# memory: 128Mi
265
+ extraEnvVars: []
266
+ ## Additional ENV variables to set
267
+ # - name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY
268
+ # value: "/var/lib/example"
0 commit comments