From 3166519148521d3bdb3b90dafda4722645c8550c Mon Sep 17 00:00:00 2001 From: Vicken Simonian Date: Sat, 22 Jun 2024 10:59:42 -0700 Subject: [PATCH] feat(traefik-forward-auth): Support configuring generic oauth scope (#23598) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #23597 **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [X ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Applied the chart, the changes taken effect. **📃 Notes:** **✔️ Checklist:** - [X ] ⚖️ My code follows the style guidelines of this project - [X ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [X ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [X ] ⬆️ I increased versions for any altered app according to semantic versioning - [ X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/stable/traefik-forward-auth/Chart.yaml | 2 +- charts/stable/traefik-forward-auth/templates/_secrets.tpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/stable/traefik-forward-auth/Chart.yaml b/charts/stable/traefik-forward-auth/Chart.yaml index cc65208268f..958e7d26d07 100644 --- a/charts/stable/traefik-forward-auth/Chart.yaml +++ b/charts/stable/traefik-forward-auth/Chart.yaml @@ -37,4 +37,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/traefik-forward-auth - https://hub.docker.com/r/thomseddon/traefik-forward-auth type: application -version: 5.1.2 +version: 5.2.0 diff --git a/charts/stable/traefik-forward-auth/templates/_secrets.tpl b/charts/stable/traefik-forward-auth/templates/_secrets.tpl index 22172aed6ba..79fb8d2d55c 100644 --- a/charts/stable/traefik-forward-auth/templates/_secrets.tpl +++ b/charts/stable/traefik-forward-auth/templates/_secrets.tpl @@ -17,4 +17,5 @@ data: PROVIDERS_GENERIC_OAUTH_CLIENT_SECRET: {{ .Values.tfaOauthOptions.clientSecret | trimAll "\"" }} PROVIDERS_GENERIC_OAUTH_TOKEN_STYLE: {{ .Values.tfaOauthOptions.tokenStyle | trimAll "\"" }} PROVIDERS_GENERIC_OAUTH_RESOURCE: {{ .Values.tfaOauthOptions.resource | trimAll "\"" }} + PROVIDERS_GENERIC_OAUTH_SCOPE: {{ .Values.tfaOauthOptions.scopes | trimAll "\"" }} {{- end }}