Skip to content

Commit

Permalink
helm option for imagePullSecrets (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
xosk31 authored May 9, 2024
1 parent 5a940d0 commit 7dac278
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ helm install k8s-event-logger-operator bakito/k8s-event-logger-operator
| extraPodAnnotations | object | `{}` | Add additional pod [annotations] |
| extraPodLabels | object | `{}` | Add additional pod [labels] |
| fullnameOverride | string | `""` | String to fully override "argo-rollouts.fullname" template |
| image.imagePullSecrets | object | `{}` | Image pull secrets |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.repository | string | `"ghcr.io/bakito/k8s-event-logger"` | Repository to use |
| image.tag | string | `nil` | Overrides the image tag (default is the chart appVersion) |
Expand Down
4 changes: 4 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "k8s-event-logger-operator.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
Expand Down
2 changes: 2 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ image:
tag:
# -- Image pull policy
pullPolicy: IfNotPresent
# -- Image pull secrets
imagePullSecrets: { }
# -- Additional command args

eventLogger:
Expand Down

0 comments on commit 7dac278

Please sign in to comment.