Skip to content

Commit 8d3f28c

Browse files
Merge pull request #284 from jkroepke/enableServiceLinks
Make deploy.enableServiceLinks configurable
2 parents e55dffd + c39483f commit 8d3f28c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.10.5
2+
version: 7.11.0
33
apiVersion: v2
44
appVersion: 7.8.1
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -32,7 +32,7 @@ kubeVersion: ">=1.16.0-0"
3232
annotations:
3333
artifacthub.io/changes: |
3434
- kind: added
35-
description: Add documentation to ensure Redis password consistency between sessionStorage and Redis sub chart is well explained
35+
description: Make deploy.enableServiceLinks configurable
3636
links:
3737
- name: Github PR
38-
url: https://github.com/oauth2-proxy/manifests/pull/283
38+
url: https://github.com/oauth2-proxy/manifests/pull/284

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 | `true` |
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)