Skip to content

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

Merged
hc-github-team-consul-core merged 1 commit intorelease/1.2.xfrom
backport/validate-tls-opts/usefully-dashing-tomcat
Aug 9, 2023
Merged

Backport of NET-4413 Implement translation + validation of TLS options into release/1.2.x#2747
hc-github-team-consul-core merged 1 commit intorelease/1.2.xfrom
backport/validate-tls-opts/usefully-dashing-tomcat

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

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

@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) August 9, 2023 19:42
@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/validate-tls-opts/usefully-dashing-tomcat branch 14 times, most recently from 9751643 to 600996d Compare August 9, 2023 19:42
* 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
Copy Markdown
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
@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