chore: add cert-manager and external secrets

This commit is contained in:
2023-04-10 22:30:16 +02:00
parent 2f1c975837
commit 289489d222
6 changed files with 6376 additions and 1 deletions
+4 -1
View File
@@ -8,10 +8,13 @@ kubectl create secret docker-registry gitlab \
--docker-server=registry.gitlab.com \
--docker-username=gitlab \
--docker-password="${GITLAB_TOKEN}" \
--docker-email=gitlab@paidit.se
--docker-email=gitlab@unbound.se
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "gitlab"}]}'
kubectl apply -k . || true
kubectl wait --for=condition=Ready pods --all -n cert-manager --timeout=5m
kubectl wait --for=condition=Ready pods --all -n external-secrets --timeout=5m
kubectl apply -k .
kubectl wait --for=condition=Ready pods --all --timeout=5m