Hi everyone! I just learned about DataHub today, s...
# getting-started
w
Hi everyone! I just learned about DataHub today, so I decided to deploy it to Google Cloud Platform (https://datahubproject.io/docs/deploy/gcp/) for some testing. I'm a bit stuck at the moment though as I'm trying to update the
METADATA_SERVICE_AUTH_ENABLED
variable for the container / pod (as outlined here), but I don't know how to do it in Google Cloud. I thought I would have permissions to generate personal access tokens as the root user. Has anyone encountered this specific configuration before? If so, could you provide some guidance? It would be much appreciated. 🙂
h
Hey Colin ! When using helm charts, you can to update datahub values.yml to set
datahub.metadata_service_authentication.enabled
to true. It will automatically set the necessary env variables to enable metadata service authentication. Once its enabled, you will be able to generate personal access token.
w
Thanks @hundreds-photographer-13496. I sincerely appreciate that guidance! I don't want to seem "needy," but do you know the specific kubectl commands to run in order to change this value?
b
Hi colin, as mentioned by mayuri you can copy values.yaml file to your local system , make changes to it and pass the values.yaml with helm command using --values or -f option. you can follow the detailed steps here- https://datahubproject.io/docs/deploy/kubernetes#:~:text=Note%2C%20the%20above%20uses%20the%20default%20configuration%20defined%20here.%20You%20can%20change%20any%20of%20the%20configuration%20and%20deploy%20by%20running%20the%20following%20command.
thankyou1 1