Hello, can someone please confirm the quickest way...
# troubleshoot
a
Hello, can someone please confirm the quickest way to reset the default datahub account password on an AWS/K8/Helm deployment of DataHub?
s
https://datahubproject.io/docs/authentication/guides/add-users#changing-the-default-datahub-user In the same doc it is mentioned how to mount a file in helm. You just need to make changes to mount this file instead
a
Thanks, are you referring to this section?
Copy code
Update the docker-compose.yaml to mount your default user.props file to the following location inside the datahub-frontend-react container using a volume: /datahub-frontend/conf/user.props
Restart the datahub containers to pick up the new configs
s
yes
a
@square-activity-64562 Are you please able to point me in the right direction to do this? Do I need to kubectl exec onto the datahub-datahub-frontend pod, create the file /datahub-frontend/conf/user.props with my new password then run kubectl edit deployment/datahub-datahub-frontend and add the following?
Copy code
datahub-frontend:
  ...
  extraVolumeMounts:
    - name: datahub-users
      mountPath: /datahub-frontend/conf/user.props
      subPath: user.props
And what goes in the user.props file?
Copy code
datahub:NEWPASSWORD