File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3232 tolerations :
3333 {{- toYaml . | nindent 12 }}
3434 {{- end }}
35+ securityContext :
36+ {{- toYaml .Values.registry.garbageCollection.podSecurityContext | nindent 12 }}
3537 containers :
3638 - name : kubectl
39+ securityContext :
40+ {{- toYaml .Values.registry.garbageCollection.securityContext | nindent 16 }}
3741 image : " {{ .Values.registry.garbageCollection.image.repository }}:{{ .Values.registry.garbageCollection.image.tag }}"
3842 resources :
3943 {{- toYaml .Values.registry.garbageCollection.resources | nindent 16 }}
Original file line number Diff line number Diff line change @@ -239,6 +239,10 @@ registry:
239239 schedule : " 0 0 * * 0"
240240 # -- If true, delete untagged manifests. Default to false since there is a known bug in **docker distribution** garbage collect job.
241241 deleteUntagged : false
242+ # -- Security context for the garbage collector pod
243+ podSecurityContext : {}
244+ # -- Security context for containers of the garbage collector pod
245+ securityContext : {}
242246 # -- Specify a nodeSelector for the garbage collector pod
243247 nodeSelector : {}
244248 # -- Affinity for the garbage collector pod
You can’t perform that action at this time.
0 commit comments