proud-lamp-13920
07/19/2022, 6:54 AMAUTH_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=([^@]+)
So, i have two question.
First, many yaml file exist In GKE.
Which yaml file do i need to edit in GKE menu?
service in "Services and Ingress" or deployment in "Workloads"?
Second, where should i add "extraEnvs" in yaml file?
Thanksbumpy-needle-3184
07/19/2022, 11:55 AMbumpy-needle-3184
07/19/2022, 12:00 PMdatahub-frontend:
enabled: true
image:
repository: linkedin/datahub-frontend-react
tag: "v0.8.41"
# Set up ingress to expose react front-end
ingress:
enabled: false
extraEnvs:
- 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
proud-lamp-13920
07/20/2022, 1:52 AM