Skip to content

Commit 61c46fe

Browse files
committed
Bumped chart version and added missing configuration value
1 parent 688c1db commit 61c46fe

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 6.7.3
2+
version: 6.7.4
33
apiVersion: v2
44
appVersion: 7.4.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Parameter | Description | Default
111111
`customLabels` | Custom labels to add into metadata | `{}` |
112112
`config.google.adminEmail` | user impersonated by the google service account | `""`
113113
`config.google.useApplicationDefaultCredentials` | use the application-default credentials (i.e. Workload Identity on GKE) instead of providing a service account json | `false`
114+
`config.google.targetPrincipal` | service account to use/impersonate | `""`
114115
`config.google.serviceAccountJson` | google service account json contents | `""`
115116
`config.google.existingConfig` | existing Kubernetes configmap to use for the service account file. See [google secret template](https://github.com/oauth2-proxy/manifests/blob/master/helm/oauth2-proxy/templates/google-secret.yaml) for the required values | `nil`
116117
`config.google.groups` | restrict logins to members of these google groups | `[]`

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ spec:
102102
{{- else }}
103103
- --google-service-account-json=/google/service-account.json
104104
{{- end }}
105+
{{- if .targetPrincipal }}
106+
- --google-target-principal={{ .targetPrincipal }}
107+
{{- end }}
105108
{{- end }}
106109
{{- if .groups }}
107110
{{- range $group := .groups }}

helm/oauth2-proxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ config:
2323
google: {}
2424
# adminEmail: xxxx
2525
# useApplicationDefaultCredentials: true
26+
# targetPrincipal: xxxx
2627
# serviceAccountJson: xxxx
2728
# Alternatively, use an existing secret (see google-secret.yaml for required fields)
2829
# Example:

0 commit comments

Comments
 (0)