Skip to content

Commit 914c902

Browse files
flamingdumpsterJeff McCormick
authored andcommitted
rmdata pod waiting on non-existent pvc (#839)
* Alter config.toml, remove some unnecessary files (#556) * Update README (#573) * add regexp to check usernames passed into create user command to prevent special chars from being passed in * updating README links for documentation * fix example/envs.sh: use CO_NAMESPACE (#613) Signed-off-by: Mathis Raguin <[email protected]> * create stale.yml * fix differnce with upstream * exclude backrest repo from non-backup cleanups
1 parent 4fa8cf1 commit 914c902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apiserver/clusterservice/clusterimpl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,8 +991,8 @@ func createDeleteDataTasks(clusterName string, storageSpec crv1.PgStorageSpec, d
991991

992992
var err error
993993

994-
//dont include pgpool or pgbouncer deployments
995-
selector := config.LABEL_PG_CLUSTER + "=" + clusterName + "," + config.LABEL_PGBACKUP + "!=true," + config.LABEL_PGPOOL_POD + "!=true," + config.LABEL_PGBOUNCER + "!=true"
994+
//dont include pgpool, pgbouncer, or pgbackrest_repo deployments
995+
selector := config.LABEL_PG_CLUSTER + "=" + clusterName + "," + config.LABEL_PGBACKUP + "!=true," + config.LABEL_PGPOOL_POD + "!=true," + config.LABEL_PGO_BACKREST_REPO + "!=true," + config.LABEL_PGBOUNCER + "!=true"
996996
log.Debugf("selector for delete is %s", selector)
997997
deployments, err := kubeapi.GetDeployments(apiserver.Clientset, selector, ns)
998998
if err != nil {

0 commit comments

Comments
 (0)