Update example conf for supabase to use dedicated secret
This commit is contained in:
parent
99e1419556
commit
7dfeda268e
4 changed files with 71 additions and 18 deletions
|
@ -7,7 +7,7 @@ helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets
|
|||
```
|
||||
|
||||
```console
|
||||
helm install sealed-secrets sealed-secrets/sealed-secrets -f helm/values
|
||||
helm install sealed-secrets sealed-secrets/sealed-secrets -f helm/values.yml
|
||||
```
|
||||
|
||||
2. Create a secret
|
||||
|
@ -29,12 +29,24 @@ echo -n "MySecret" | kubeseal --raw --name <secret-name> \
|
|||
-n <namespace>
|
||||
```
|
||||
|
||||
OR
|
||||
|
||||
```
|
||||
cat <file> | kubeseal -n <namespace> -o yaml
|
||||
```
|
||||
|
||||
3. Validate encrypted data
|
||||
|
||||
```
|
||||
cat <mysealedsecretfile.yaml> | kubeseal --validate --controller-name=sealed-secrets --controller-namespace=<namespace>
|
||||
```
|
||||
|
||||
OR
|
||||
|
||||
```
|
||||
kubectl kustomize | yq '. | select(.kind == "SealedSecret")' --yaml-output | kubeseal --validate --controller-name=sealed-secrets --controller-namespace=<namespace>
|
||||
```
|
||||
|
||||
4. Check status of sealed secret
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue