-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pgpool backend reference change #90
Conversation
Signed-off-by: MobarakHsn <[email protected]>
Signed-off-by: MobarakHsn <[email protected]>
apb := &appbinding.AppBinding{} | ||
err := o.kc.Get(o.ctx, types.NamespacedName{ | ||
Name: pp.Spec.PostgresRef.Name, | ||
Namespace: pp.Spec.PostgresRef.Namespace, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cross namespace grant should be checked
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore for this release
pgpool/kubedb_client_builder.go
Outdated
} | ||
if apb.Spec.Secret == nil { | ||
return "", "", fmt.Errorf("backend postgres database auth secret not found for pgpool %s/%s", pp.Namespace, pp.Name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"backend auth secret unspecified"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update error msg
Signed-off-by: MobarakHsn <[email protected]>
986b878
to
9b4d348
Compare
Signed-off-by: MobarakHsn <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: MobarakHsn [email protected]