Skip to content

Commit

Permalink
htpasswdString doc fix - resolves goharbor#1210 Signed-off-by: Richar…
Browse files Browse the repository at this point in the history
…d Sufliarsky <richard.sufliarsky@gmail.com>
  • Loading branch information
RichardSufliarsky committed Jul 28, 2022
1 parent 9c62943 commit 8110c8d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions values.yaml
Expand Up @@ -576,8 +576,13 @@ 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`,
# 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 Expand Up @@ -945,4 +950,4 @@ cache:
# default is not enabled.
enabled: false
# default keep cache for one day.
expireHours: 24
expireHours: 24

0 comments on commit 8110c8d

Please sign in to comment.