Skip to content

Commit

Permalink
[ISSUE-223] Pull secret element misplaced in pre upgrade CRD template
Browse files Browse the repository at this point in the history
Signed-off-by: rafalw82 <[email protected]>
  • Loading branch information
rafalw82 authored Apr 8, 2024
1 parent b69a72b commit 78da5f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/csi-baremetal-operator/templates/pre-upgrade-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ spec:
runAsNonRoot: {{ .Values.securityContext.runAsNonRoot }}
runAsUser: {{ .Values.securityContext.runAsUser }}
{{- end }}
{{- if .Values.global.registrySecret }}
imagePullSecrets:
- name: {{ .Values.global.registrySecret }}
{{- end }}
containers:
- name: "{{.Release.Namespace}}-{{.Release.Name}}-csi-baremetal-pre-crds-job"
image: {{ if .Values.global.registry }}{{ .Values.global.registry }}/{{ end }}{{ .Values.preUpgradeCRDsHooks.image.name }}:{{ default .Values.image.tag .Values.preUpgradeCRDsHooks.image.tag }}
imagePullPolicy: {{ default .Values.image.pullPolicy .Values.preUpgradeCRDsHooks.image.pullPolicy }}
{{- if .Values.global.registrySecret }}
imagePullSecrets:
- name: {{ .Values.global.registrySecret }}
{{- end }}
resources:
limits:
cpu: {{ .Values.operator.resources.limits.cpu }}
Expand Down

0 comments on commit 78da5f8

Please sign in to comment.