Add external-secrets

This commit is contained in:
Amarpreet Minhas 2022-07-02 14:44:03 -04:00
parent 0ab294fad4
commit f740e1d8c0
2 changed files with 23 additions and 0 deletions

17
002-external-secrets/install.sh Executable file
View 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

View file

@ -0,0 +1,6 @@
#!/bin/bash
NAMESPACE=vault
helm -n ${NAMESPACE} delete vault
kubectl delete ns ${NAMESPACE}