Skip to content

Commit 612f7cf

Browse files
authored
Add additional secrets deletion in uninstall script (#2756)
1 parent 72ec41d commit 612f7cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cp3pt0-deployment/uninstall_tenant.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ function cleanup_extra_resources() {
518518
${OC} delete issuer cs-ss-issuer cs-ca-issuer -n $ns --ignore-not-found
519519
${OC} delete certificate cs-ca-certificate -n $ns --ignore-not-found
520520
${OC} delete configmap cloud-native-postgresql-image-list ibm-cpp-config -n $ns --ignore-not-found
521-
${OC} delete secret common-service-db-im-tls-secret postgresql-operator-controller-manager-config cs-ca-certificate-secret common-service-db-tls-secret common-service-db-replica-tls-secret common-service-db-zen-tls-secret common-web-ui-cert -n $ns --ignore-not-found
521+
${OC} delete secret common-service-db-im-tls-secret postgresql-operator-controller-manager-config cs-ca-certificate-secret common-service-db-tls-secret common-service-db-replica-tls-secret common-service-db-zen-tls-secret common-web-ui-cert identity-provider-secret platform-auth-secret platform-identity-management saml-auth-secret -n $ns --ignore-not-found
522522
${OC} delete commonservice common-service im-common-service -n $ns --ignore-not-found
523523
${OC} delete operandconfig common-service -n $ns --ignore-not-found
524524
${OC} delete operandregistry common-service -n $ns --ignore-not-found
@@ -557,4 +557,4 @@ function uninstall_helm_resources() {
557557

558558

559559

560-
main $*
560+
main $*

0 commit comments

Comments
 (0)