Skip to content

Commit 102e9df

Browse files
feature: hardcode CBC ADM group as always-allowed
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent ea5d75f commit 102e9df

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

templates/middleware.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ spec:
1111
AssertClaims:
1212
- Name: groups
1313
AnyOf:
14+
- "CBC - Application Hosting Team (ADM)"
1415
{{- range .Values.oidc.groups }}
1516
- {{ . | quote }}
1617
{{- end }}

values.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ storage:
1616
domains:
1717
- example.gewis.nl
1818

19-
# OIDC auth via traefik-oidc-auth plugin. Groups listed here are allowed in.
19+
# OIDC auth via traefik-oidc-auth plugin. "CBC - Application Hosting Team (ADM)"
20+
# always has access (hardcoded in templates/middleware.yaml); any groups listed
21+
# here are additionally allowed in.
2022
oidc:
21-
groups:
22-
- CBC - Application Hosting Team (ADM)
23+
groups: []
2324
provider:
2425
url: https://auth.gewis.nl/realms/GEWISWG
2526
clientId: traefik-auth

0 commit comments

Comments
 (0)