Skip to content

Commit bad1b35

Browse files
Updates deployment README.md for updating secrets yaml
1 parent fd55d41 commit bad1b35

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

deployment/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,14 @@ These are stored as Github secrets.
1212

1313
- `LINODE_B64_KUBECONFIG` - base64-encoded Kubeconfig for the Kubernetes cluster
1414
- `LINODE_B64_SECRET_VALUES` - base64-encoded secret values we apply additionally to the deployment
15+
16+
17+
### Secrets values yaml file
18+
19+
To update `LINODE_B64_SECRET_VALUES`, use `examples.secrets-values.yaml` as a template for new yaml (say `new-secrets.yaml`) and...
20+
1. Update the passwords secrets where `CHANGEME` occurs
21+
- To create random, you can use: `python -c "import secrets; print(secrets.token_urlsafe())"`
22+
2. Base64 encode the yaml file: `base64 new-secret.yaml`
23+
3. Update the GitHub Actions `LINODE_B64_SECRET_VALUES` with this encoded string from step (2):
24+
- link: https://github.com/nsdf-fabric/NSDF-INTERSECT/settings/secrets/actions
25+
4. Save changes!

0 commit comments

Comments
 (0)