chore: cleanup

This commit is contained in:
Stefan Reimer 2024-05-23 21:21:03 +00:00
parent 42d26ec032
commit 874e050c4f
2 changed files with 22 additions and 19 deletions

View File

@ -0,0 +1,22 @@
# KubeZero secrets
#
test: supergeheim
secrets:
- name: argocd-secret
optional: false
data:
admin.password: test
admin.passwordMtime: now
server.secretkey: boohoo
- name: zero-downtime-gitea
optional: true
data:
name: zero-downtime-gitea
type: git
url: ssh://git@git.zero-downtime.net/quark/kube-grandnagus.git
sshPrivateKey: |
boohooKey
metadata:
labels:
argocd.argoproj.io/secret-type: repository

View File

@ -1,19 +0,0 @@
#!/bin/bash
# Istio operator resources first
kubectl delete Istiooperators kubezero-istio -n istio-system
kubectl delete Istiooperators kubezero-istio-private-ingress -n istio-system
# Istio operator itself
kubectl delete deployment istio-operator -n istio-operator
kubectl delete ns istio-operator
# Remove policy pod
kubectl delete deployment istio-policy -n istio-system
# Remove old gateways
kubectl delete gateways ingressgateway -n istio-system
kubectl delete gateways private-ingressgateway -n istio-system
# Remove old shared public cert
kubectl delete certificate public-ingress-cert -n istio-system