Skip to content

Commit

Permalink
bencrypt password at source
Browse files Browse the repository at this point in the history
  • Loading branch information
sacreman committed Sep 17, 2021
1 parent 6605dc6 commit b37a4bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export AKASH_PASSWORD=<mykeypassword>
export AKASH_ACCOUNT_ADDRESS="$(akash keys show $AKASH_KEY_NAME -a)"
helm install provider akash/provider --set akash_client.from=$AKASH_ACCOUNT_ADDRESS --set akash_client.keysecret="$(echo $AKASH_PASSWORD)" --set akash_client.key="$(cat ./key.pem | base64)" --set akash_provider.providercert="$(cat ./provider-cert.pem | base64)"
helm install provider akash/provider --set akash_client.from=$AKASH_ACCOUNT_ADDRESS --set akash_client.keysecret="$(echo $AKASH_PASSWORD | base64)" --set akash_client.key="$(cat ./key.pem | base64)" --set akash_provider.providercert="$(cat ./provider-cert.pem | base64)"
```

To uninstall the chart:
Expand Down
2 changes: 1 addition & 1 deletion charts/provider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.47.0
version: 0.48.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/provider/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ data:
key.txt: |
{{ .Values.akash_client.key }}
key-pass.txt: |
{{ .Values.akash_client.keysecret | b64enc }}
{{ .Values.akash_client.keysecret }}

0 comments on commit b37a4bd

Please sign in to comment.