Skip to content

Commit

Permalink
base64 client cert
Browse files Browse the repository at this point in the history
  • Loading branch information
sacreman committed Sep 16, 2021
1 parent 4f294fc commit 13c746d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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=$AKASH_PASSWORD --set akash_client.key="$(cat ./key.pem)" --set akash_provider.providercert="$(cat ./provider-cert.pem)"
helm install provider akash/provider --set akash_client.from=$AKASH_ACCOUNT_ADDRESS --set akash_client.keysecret=$AKASH_PASSWORD --set akash_client.key="$(cat ./key.pem | base64)" --set akash_provider.providercert="$(cat ./provider-cert.pem)"
```

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.40.0
version: 0.41.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
4 changes: 2 additions & 2 deletions charts/provider/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
type: "Opaque"
data:
provider-cert.pem: |
{{ .Values.akash_provider.providercert | b64enc }}
{{ .Values.akash_provider.providercert }}
key.txt: |
{{ .Values.akash_client.key | b64enc }}
{{ .Values.akash_client.key }}
key-pass.txt: |
{{ .Values.akash_client.keysecret | b64enc }}

0 comments on commit 13c746d

Please sign in to comment.