Skip to content

Commit

Permalink
htpasswdString doc fix - resolves goharbor#1210
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Sufliarsky <richard.sufliarsky@gmail.com>
  • Loading branch information
RichardSufliarsky committed Jul 28, 2022
1 parent 9c62943 commit b1fa28b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions values.yaml
Expand Up @@ -576,8 +576,14 @@ registry:
credentials:
username: "harbor_registry_user"
password: "harbor_registry_password"
# Login and password in htpasswd string format. Excludes `registry.credentials.username` and `registry.credentials.password`. May come in handy when integrating with tools like argocd or flux. This allows the same line to be generated each time the template is rendered, instead of the `htpasswd` function from helm, which generates different lines each time because of the salt.
# htpasswdString: $apr1$XLefHzeG$Xl4.s00sMSCCcMyJljSZb0 # example string
# Login and password in htpasswd string format. May come in handy when integrating with tools like argocd or flux.
# This allows the same line to be generated each time the template is rendered, instead of the `htpasswd` function from helm,
# which generates different lines each time because of the salt.
# Do not comment out `registry.credentials.username` and `registry.credentials.password` as these are used
# for core and jobservice Config Maps and Secrets.
# To generate bcrypt hash: "htpasswd -nbBC10 $username $password".
# More info: https://httpd.apache.org/docs/2.4/misc/password_encryptions.html
# htpasswdString: "harbor_registry_user:$2y$10$XLefHzeG$Xl4.s00sMSCCcMyJljSZb0" # example string
middleware:
enabled: false
type: cloudFront
Expand Down

0 comments on commit b1fa28b

Please sign in to comment.