Skip to content

Commit

Permalink
fix on sn-platform chart
Browse files Browse the repository at this point in the history
Signed-off-by: ericsyh <[email protected]>
  • Loading branch information
ericsyh committed Dec 9, 2024
1 parent 8167d92 commit 17af1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/sn-platform/templates/toolset/jwt-secret-init-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
- name: "{{ template "pulsar.fullname" . }}-jwt-secret-init"
image: "{{ .Values.images.toolset.repository }}:{{ .Values.images.toolset.tag }}"
imagePullPolicy: {{ .Values.images.toolset.pullPolicy }}
{{- if .Values.toolset.securityContext }}
securityContext: {{- toYaml .Values.toolset.securityContext | nindent 10 }}
{{- end }}
command: ["bash", "-c"]
args:
- |
Expand Down Expand Up @@ -89,7 +92,4 @@ spec:
- name: tmp
mountPath: /tmp/binaries
restartPolicy: Never
{{- if .Values.toolset.securityContext }}
securityContext: {{- toYaml .Values.toolset.securityContext | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit 17af1fe

Please sign in to comment.