diff --git a/component/scripts/preCleanCerts.sh b/component/scripts/preCleanCerts.sh index da2b6e0..180f989 100644 --- a/component/scripts/preCleanCerts.sh +++ b/component/scripts/preCleanCerts.sh @@ -6,9 +6,9 @@ kubectl delete --ignore-not-found=true clusterrolebindings.rbac.authorization.k8 kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io stackgres-operator kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io stackgres-operator -kubectl -n "$NAMESPACE" delete --ignore-not-found=true certs --all -kubectl -n "$NAMESPACE" delete --ignore-not-found=true secrets stackgres-operator-certs stackgres-operator-web-certs -kubectl -n "$NAMESPACE" delete --ignore-not-found=true issuers.cert-manager.io stackgres-operator-ca-issuer stackgres-operator-self-signed-issuer +# kubectl -n "$NAMESPACE" delete --ignore-not-found=true certs --all +# kubectl -n "$NAMESPACE" delete --ignore-not-found=true secrets stackgres-operator-certs stackgres-operator-web-certs +# kubectl -n "$NAMESPACE" delete --ignore-not-found=true issuers.cert-manager.io stackgres-operator-ca-issuer stackgres-operator-self-signed-issuer # at this point we need to reload our deployments kubectl -n "$NAMESPACE" rollout restart deployment stackgres-operator kubectl -n "$NAMESPACE" rollout restart deployment stackgres-restapi