Skip to content

Commit 4af0b64

Browse files
Merge branch 'main' into global-imageregistry
2 parents a19f549 + 54c9f5a commit 4af0b64

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
225225
| `serviceAccount.enabled` | create a service account | `true` |
226226
| `serviceAccount.name` | the service account name | `` |
227227
| `serviceAccount.annotations` | (optional) annotations for the service account | `{}` |
228+
| `serviceAccount.imagePullSecrets` | imagePullSecrets for the service account | `[]` |
228229
| `strategy` | configure deployment strategy | `{}` |
229230
| `tolerations` | list of node taints to tolerate | `[]` |
230231
| `securityContext.enabled` | enable Kubernetes security context on container | `true` |

helm/oauth2-proxy/templates/serviceaccount.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ metadata:
1717
{{- $labels | indent 4 }}
1818
name: {{ $saName }}
1919
namespace: {{ $namespace }}
20+
{{- with .Values.serviceAccount.imagePullSecrets }}
21+
imagePullSecrets:
22+
{{ toYaml . | indent 2 }}
23+
{{- end }}
2024
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
2125
{{- if and .Values.redis.enabled .Values.initContainers.waitForRedis.enabled }}
2226
---

helm/oauth2-proxy/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ serviceAccount:
178178
name:
179179
automountServiceAccountToken: true
180180
annotations: {}
181+
## imagePullSecrets for the service account
182+
imagePullSecrets: []
183+
# - name: myRegistryKeySecretName
181184

182185
# Network policy settings.
183186
networkPolicy:

0 commit comments

Comments
 (0)