ARTIFACTORY: Resetting the Artifactory admin password in a Helm environment, Best Practices
If you are unable to access the admin user account in Artifactory due to a forgotten or unknown password, you can reset it by following these steps:
Please note that these instructions are intended for Artifactory versions 7.x only.
When using the Artifactory OR Artifactory-HA Chart:- Create an admin-creds-values.yaml file with the following information:
artifactory: admin: ip: "*” # Example: "*" to allow access from any IP username: "admin" password: "password1"
Apply the admin-creds-values.yaml file using the following command(s):
Using the Artifactory chart
helm upgrade --install artifactory --namespace artifactory jfrog/artifactory -f admin-creds-values.yaml
With Artifactory-HA chart
helm upgrade --install artifactory-ha --namespace artifactory-ha jfrog/artifactory-ha -f admin-creds-values.yaml
When using the JFrog platform chart:artifactory: artifactory: admin: ip: "*" # Example: "*" to allow access from any IP username: "admin" password: "password1"
Apply the admin-creds-values.yaml file using the following command:
helm upgrade --install jfrog-platform --namespace jfrog-platform jfrog/jfrog-platform -f admin-creds-values.yaml
* For non-Helm installations, refer to the steps provided on the following page.