Skip to content
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

Merged

Conversation

baptman21
Copy link
Contributor

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:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change, as applicable?
  • Have you tested your changes on all related environments with successful results, as applicable?
    • Have you added automated tests?

Type of Changes:

  • New feature
  • Bug fix
  • Documentation
  • Testing enhancement
  • Other

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)?

  • Breaking change (fix or feature that would cause existing functionality to change)

Other Information:

@benjaminjb
Copy link
Contributor

(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.

@benjaminjb
Copy link
Contributor

@cbandy this is that PR for trafficPolicy I talked to you about.

Copy link
Member

@cbandy cbandy left a 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.

@baptman21 baptman21 force-pushed the add-traffic-policy-to-service-crd branch from baeeeea to 810b1b3 Compare February 6, 2024 08:26
@baptman21
Copy link
Contributor Author

@cbandy Thank you for the review, I added the changes you proposed. Tell me if anything else is missing.

@baptman21 baptman21 requested a review from cbandy March 4, 2024 12:05
@baptman21
Copy link
Contributor Author

Hello @cbandy, did you have time to check this PR with my changes ?

baptman21 and others added 3 commits May 15, 2024 18:50
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 <bandy.chris@gmail.com>
Update the type and comment that link the docs. Made with the `make
generate-crds`.
@jmckulk jmckulk force-pushed the add-traffic-policy-to-service-crd branch from 810b1b3 to c3bda0b Compare May 20, 2024 18:05
@jmckulk jmckulk merged commit 549c4dd into CrunchyData:master May 21, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants