calm-morning-92759
10/28/2021, 3:28 PMAUTH_OIDC_ENABLED=true
AUTH_OIDC_CLIENT_ID=your-client-id
AUTH_OIDC_CLIENT_SECRET=your-client-secret
AUTH_OIDC_DISCOVERY_URI=<https://accounts.google.com/.well-known/openid-configuration>
AUTH_OIDC_BASE_URL=your-datahub-url
AUTH_OIDC_SCOPE="openid profile email"
AUTH_OIDC_USER_NAME_CLAIM=email
AUTH_OIDC_USER_NAME_CLAIM_REGEX=([^@]+)
Anyway to change the deployment config manually seems not the right way. I am wondering what could be the best way to combine custom config with helm charts.
It seems that it is not possible to add the values in the values.yaml file.
Hope, that someone can share his experience...big-carpet-38439
10/28/2021, 4:17 PMbig-carpet-38439
10/28/2021, 4:17 PMextraEnvs
on the datahub-frontend pod to configure OIDC in K8sbig-carpet-38439
10/28/2021, 4:18 PMextraEnvs:
- name: AUTH_OIDC_ENABLED
value: "true"
- name: AUTH_OIDC_CLIENT_ID
value: <our-id>
- name: AUTH_OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: oidc-secret # we have a K8s secret for this!
key: oidc-secret
- name: AUTH_OIDC_DISCOVERY_URI
value: <our-discovery-uri>
- name: AUTH_OIDC_BASE_URL
value: <our-base-uri-where-datahub-lives>
- name: AUTH_OIDC_SCOPE
value: "openid email profile"
- name: AUTH_OIDC_USER_NAME_CLAIM
value: email
lemon-receptionist-90470
11/04/2021, 11:38 AMproud-lamp-13920
07/19/2022, 6:43 AM