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

Backport of NET-4413 Implement translation + validation of TLS options into release/1.2.x #2747

Conversation

hc-github-team-consul-core

Backport

This PR is auto-generated from #2711 to be assessed for backporting due to the inclusion of the label backport/1.2.x.

The below text is copied from the body of the original PR.


Changes proposed in this PR:

  • Update translation logic to pull TLS min version, max version + cipher suites from the Gateway resource in K8s and write them to the api-gateway config entry in Consul
  • Update validation logic to compare TLS options against allowed values + combinations of values

How I've tested this PR:

  • Added unit tests covering changes in translation + validation logic

How I expect reviewers to test this PR:

Checklist:


Overview of commits

* Implement validation of TLS options

* Use constants for annotation keys

* Add changelog entry

* Implement TLS options translation

* Update changelog entry

* Add unit test coverage for TLS option validation

* Code review feedback
@nathancoleman nathancoleman force-pushed the backport/validate-tls-opts/usefully-dashing-tomcat branch from 0b08fa3 to 7fb117a Compare August 9, 2023 19:45
Copy link
Member

@nathancoleman nathancoleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches source PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit 8e311bd into release/1.2.x Aug 9, 2023
3 checks passed
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/validate-tls-opts/usefully-dashing-tomcat branch August 9, 2023 20:15
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.

2 participants