Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add exclusion to pgo show user secret selector to prevent backrest re…
…po secret from showing
  • Loading branch information
jmccormick2001 committed May 30, 2019
commit e3204f3353ee4de8b935fe9604f5ca2cf69cc17c
2 changes: 1 addition & 1 deletion apiserver/userservice/userimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func getPostgresUserInfo(namespace, clusterName string) (connInfo, error) {
}

//get the secrets for this cluster
selector := config.LABEL_PG_CLUSTER + "=" + clusterName
selector := "!" + config.LABEL_PGO_BACKREST_REPO + "," + config.LABEL_PG_CLUSTER + "=" + clusterName
secrets, err := kubeapi.GetSecrets(apiserver.Clientset, selector, namespace)
if err != nil {
return info, err
Expand Down