-
Notifications
You must be signed in to change notification settings - Fork 611
Add internal and external traffic policy to crd. #3812
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
Add internal and external traffic policy to crd. #3812
Conversation
(a) Thanks for this (b) I'm not sure if that's where we'd want to put a field to affect the pgbouncer service, but I want to talk more to the team and will update you if we have suggestions on this PR. |
@cbandy this is that PR for trafficPolicy I talked to you about. |
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.
Thanks @baptman21! The struct for PgBouncer affects other parts of the CRD, so I've recommended a few changes.
pkg/apis/postgres-operator.crunchydata.com/v1beta1/shared_types.go
Outdated
Show resolved
Hide resolved
config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml
Outdated
Show resolved
Hide resolved
config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml
Outdated
Show resolved
Hide resolved
baeeeea
to
810b1b3
Compare
@cbandy Thank you for the review, I added the changes you proposed. Tell me if anything else is missing. |
Hello @cbandy, did you have time to check this PR with my changes ? |
To allow more modifications to the service created for the pgboucer, add the externalTrafficPolicy and internalTrafficPolicy to the CRD of the service. Issue: CrunchyData#3797
Co-authored-by: Chris Bandy <[email protected]>
Update the type and comment that link the docs. Made with the `make generate-crds`.
810b1b3
to
c3bda0b
Compare
Co-authored-by: Baptiste Bourdet <[email protected]> Issue: PGO-1659 See: CrunchyData#3812
Co-authored-by: Baptiste Bourdet <[email protected]> Issue: PGO-1659 See: CrunchyData#3812
Co-authored-by: Baptiste Bourdet <[email protected]> Issue: PGO-1659 See: #3812
To allow more modifications to the service created for the pgboucer, add the externalTrafficPolicy and internalTrafficPolicy to the CRD of the service.
Issue: #3797
Checklist:
Type of Changes:
What is the current behavior (link to any open issues here)?
Not possible to set traffic policies in services.
#3797
What is the new behavior (if this is a feature change)?
Other Information: