Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxyVarsFromSecret: "" option #141

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
7e3ff11
init proxyVarsFromSecret
jan-brychta Apr 7, 2023
e273a0d
chart version bump
jan-brychta Apr 21, 2023
c9b2a3f
chart version bump vol2
jan-brychta Apr 21, 2023
9935deb
Merge branch 'main' into feature/proxyVarsFromSecret
jan-brychta Apr 21, 2023
63d0a54
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Apr 23, 2023
8a19548
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jun 1, 2023
a48fb36
Update Chart.yaml
pierluigilenoci Jun 7, 2023
610e64f
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jun 7, 2023
77fc7d0
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jul 10, 2023
77bcae9
Chart bump
pierluigilenoci Jul 10, 2023
7728936
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jul 10, 2023
240a34a
Chart bump
pierluigilenoci Jul 10, 2023
818bdc6
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jul 10, 2023
cc1c0af
Update Chart.yaml
pierluigilenoci Jul 15, 2023
0ec70cd
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jul 15, 2023
5d4a6c2
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jul 15, 2023
7611224
Rebased
pierluigilenoci Sep 5, 2023
0e9ebd1
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Sep 5, 2023
5781f77
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Oct 17, 2023
c73fa12
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Nov 7, 2023
a1c0820
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Nov 13, 2023
423a642
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Nov 17, 2023
609ce31
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Dec 11, 2023
10c21df
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Jan 3, 2024
320d27d
Update Chart.yaml
pierluigilenoci Jan 3, 2024
f0c2036
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Feb 13, 2024
b472a1b
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Feb 28, 2024
4eb5b4a
Update helm/oauth2-proxy/templates/deployment.yaml
pierluigilenoci Feb 28, 2024
8440468
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Mar 6, 2024
7df5ca3
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Apr 8, 2024
70ea457
Update Chart.yaml
pierluigilenoci Apr 8, 2024
4e83718
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Apr 8, 2024
53ff152
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Apr 8, 2024
287d3da
Merge branch 'main' into feature/proxyVarsFromSecret
pierluigilenoci Apr 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 7.4.1
version: 7.5.0
apiVersion: v2
appVersion: 7.6.0
home: https://oauth2-proxy.github.io/oauth2-proxy/
Expand Down Expand Up @@ -34,8 +34,8 @@ maintainers:
kubeVersion: ">=1.9.0-0"
annotations:
artifacthub.io/changes: |
- kind: changed
description: Fix link in readme to existingSecret needed fields
- kind: added
description: Add proxyVarsFromSecret: "" option
links:
- name: Github PR
url: https://github.com/oauth2-proxy/manifests/pull/193
url: https://github.com/oauth2-proxy/manifests/pull/141
5 changes: 5 additions & 0 deletions helm/oauth2-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ spec:
name: {{ template "oauth2-proxy.secretName" . }}
key: cookie-secret
{{- end }}
{{- with .Values.proxyVarsFromSecret }}
envFrom:
- secretRef:
name: {{ . }}
{{- end }}
{{- if eq (default "cookie" .Values.sessionStorage.type) "redis" }}
- name: OAUTH2_PROXY_SESSION_STORE_TYPE
value: "redis"
Expand Down
3 changes: 3 additions & 0 deletions helm/oauth2-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ nodeSelector: {}
# Whether to use secrets instead of environment values for setting up OAUTH2_PROXY variables
proxyVarsAsSecrets: true

# Allows to import environment values for OAUTH2_PROXY directly from a secret
proxyVarsFromSecret: ""

# Configure Kubernetes liveness and readiness probes.
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
# Disable both when deploying with Istio 1.0 mTLS. https://istio.io/help/faq/security/#k8s-health-checks
Expand Down
Loading