brave-secretary-27487
02/17/2022, 4:40 PMdatahub-frontend:
extraEnvs:
- name: METADATA_SERVICE_AUTH_ENABLED
value: "true"
datahub:
metadata_service_authentication:
enabled: true
datahub-gms:
extraEnvs:
- name: METADATA_SERVICE_AUTH_ENABLED
value: "true"
datahub:
metadata_service_authentication:
enabled: true
global:
datahub:
metadata_service_authentication:
enabled: true
systemClientId: "__datahub_system"
systemClientSecret:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
tokenService:
signingKey:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
# Set to false if you'd like to provide your own auth secrets
provisionSecrets: true
I'm, not sure which ENV variable to overwrite as there is a reference in global and in both front-end and GMS.
I'm also unsure how to retrieve systemClientId Under the global key.
I have deployed this with helm but I was still able to make unauthenticated requests.
I have no clue what I am missing.early-lamp-41924
02/17/2022, 6:53 PMearly-lamp-41924
02/17/2022, 6:53 PMbrave-secretary-27487
02/17/2022, 7:36 PMversion: 0.2.45 .
I have also updated the values.yaml to
global:
datahub:
metadata_service_authentication:
enabled: true
systemClientId: "__datahub_system"
systemClientSecret:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
tokenService:
signingKey:
secretRef: "datahub-auth-secrets"
secretKey: "token_service_signing_key"
# Set to false if you'd like to provide your own auth secrets
provisionSecrets: true
And I can still make unauthenticated requests to the gms service.brave-secretary-27487
02/21/2022, 2:36 PMearly-lamp-41924
02/22/2022, 5:35 AM