Skip to content

Commit 6b34b7b

Browse files
committed
Make deploy.enableServiceLinks configurable
Signed-off-by: Jan-Otto Kröpke <[email protected]>
1 parent e55dffd commit 6b34b7b

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-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: 7.10.5
2+
version: 7.10.6
33
apiVersion: v2
44
appVersion: 7.8.1
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
@@ -136,6 +136,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
136136
| `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` |
137137
| `config.google.groups` | restrict logins to members of these Google groups | `[]` |
138138
| `containerPort` | used to customize port on the deployment | `""` |
139+
| `enableServiceLinks` | configure deployment enableServiceLinks | `{}` |
139140
| `extraArgs` | Extra arguments to give the binary. Either as a map with key:value pairs or as a list type, which allows the same flag to be configured multiple times. (e.g. `["--allowed-role=CLIENT_ID:CLIENT_ROLE_NAME_A", "--allowed-role=CLIENT_ID:CLIENT_ROLE_NAME_B"]`). | `{}` or `[]` |
140141
| `extraContainers` | List of extra containers to be added to the pod | `[]` |
141142
| `extraEnv` | key:value list of extra environment variables to give the binary | `[]` |

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ spec:
5858
{{- toYaml . | nindent 8 }}
5959
{{- end }}
6060
serviceAccountName: {{ template "oauth2-proxy.serviceAccountName" . }}
61+
enableServiceLinks: {{ .Values.enableServiceLinks }}
6162
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
6263
{{- if .Values.hostAliases }}
6364
hostAliases:

helm/oauth2-proxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ podLabels: {}
284284
replicaCount: 1
285285
revisionHistoryLimit: 10
286286
strategy: {}
287+
enableServiceLinks: true
287288

288289
## PodDisruptionBudget settings
289290
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/

0 commit comments

Comments
 (0)