Add external-secrets
This commit is contained in:
parent
0ab294fad4
commit
f740e1d8c0
2 changed files with 23 additions and 0 deletions
17
002-external-secrets/install.sh
Executable file
17
002-external-secrets/install.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CHART_VERSION=0.5.7
|
||||||
|
NAMESPACE=external-secrets
|
||||||
|
|
||||||
|
helm repo add external-secrets https://charts.external-secrets.io
|
||||||
|
helm repo update
|
||||||
|
|
||||||
|
kubectl create ns ${NAMESPACE}
|
||||||
|
|
||||||
|
helm upgrade --install \
|
||||||
|
external-secrets \
|
||||||
|
external-secrets/external-secrets \
|
||||||
|
-n ${NAMESPACE} \
|
||||||
|
--version ${CHART_VERSION} \
|
||||||
|
--set "installCRDs=true" \
|
||||||
|
--cleanup-on-fail
|
6
002-external-secrets/uninstall.sh
Executable file
6
002-external-secrets/uninstall.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
NAMESPACE=vault
|
||||||
|
|
||||||
|
helm -n ${NAMESPACE} delete vault
|
||||||
|
kubectl delete ns ${NAMESPACE}
|
Loading…
Reference in a new issue