Skip to content

Commit 9dc2d33

Browse files
author
Jeff McCormick
committed
fix policy apply bug
1 parent 340fe5b commit 9dc2d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/policy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func ExecPolicy(clientset *kubernetes.Clientset, restclient *rest.RESTClient, na
3636
if err != nil {
3737
return err
3838
}
39-
secretName := clusterName + "-pgroot-secret"
39+
secretName := clusterName + crv1.RootSecretSuffix
4040
//get the postgres user password
4141
var password string
4242
password, err = GetPasswordFromSecret(clientset, namespace, secretName)

0 commit comments

Comments
 (0)