Skip to content

Commit 7c6da94

Browse files
committed
add kubeseal offline guide
1 parent e3e6727 commit 7c6da94

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

demos/argo-cd-git-ops/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,11 @@ a generated certificate that is automatically used for signing via `kubeseal`.
1313
kubeseal -n stackable-airflow --format=yaml < airflow-credentials.yaml > sealed-airflow-credentials.yaml
1414
```
1515

16+
For "offline" usage you can first fetch the CA from the `sealed-secrets-controller` and use that for encryption when the demo / stack is not available.
17+
18+
```sh
19+
kubeseal --fetch-cert --controller-name sealed-secrets-controller --controller-namespace sealed-secrets > sealed-secrets.crt
20+
kubeseal --cert sealed-secrets.crt -n stackable-airflow --format=yaml < airflow-credentials.yaml > sealed-airflow-credentials.yaml
21+
```
22+
1623
TODO: We should probably create a script that seals all secrets and puts them in the respective stack / demo folders

0 commit comments

Comments
 (0)