Skip to content

Commit

Permalink
Add support for customizing imagePullSecrets (#344)
Browse files Browse the repository at this point in the history
Co-authored-by: tiran-meltser <tiran.meltser@hcl.com>
  • Loading branch information
tmeltser and tiran-meltser authored May 26, 2023
1 parent 66887b5 commit eac0a5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
{{- toYaml . | indent 8 }}
{{- end }}
spec:
{{- with .Values.forecastle.deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- securityContext: {{- toYaml .Values.forecastle.container.securityContext | nindent 12 }}
env:
Expand Down
2 changes: 2 additions & 0 deletions deployments/kubernetes/chart/forecastle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ forecastle:
# seccompProfile:
# type: RuntimeDefault
tolerations: {}
# imagePullSecrets:
# - name: myregistrykey
pod:
annotations: {}
container:
Expand Down

0 comments on commit eac0a5d

Please sign in to comment.