Created
September 13, 2021 13:59
-
-
Save ppenelon/cb526c951cb6c2abe0958d3904981872 to your computer and use it in GitHub Desktop.
bcrypt password with Helm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: my-bcrypt-secret | |
| data: | |
| password: {{ htpasswd "" .Values.password | trimPrefix ":" | b64enc }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment