Skip to content

[release-1.28] Enable TLSv1.2 for ZTunnel when in FIPS mode#1596

Merged
istio-testing merged 2 commits intoistio-ecosystem:release-1.28from
dgn:ztunnel-fips-140-2-1.28
Feb 12, 2026
Merged

[release-1.28] Enable TLSv1.2 for ZTunnel when in FIPS mode#1596
istio-testing merged 2 commits intoistio-ecosystem:release-1.28from
dgn:ztunnel-fips-140-2-1.28

Conversation

@dgn
Copy link
Copy Markdown
Collaborator

@dgn dgn commented Feb 12, 2026

Cherry-pick of #1547

dgn added 2 commits February 12, 2026 12:42
This change builds on istio/ztunnel#1711 which
adds TLSv1.2 support to ZTunnel when `TLS12_ENABLED` is set to `true`.
This patch will always set the env var when in FIPS mode, for all
versions of ZTunnel, even though it is only supported from 1.29+, but
the env var will simply be ignored by versions that don't support it.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
In our tests, we sometimes set FipsEnabled manually. We should make sure
to reset it to its original value during test cleanup.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
@dgn dgn requested a review from a team as a code owner February 12, 2026 11:43
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 12, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.84%. Comparing base (c365e82) to head (6bc6797).
⚠️ Report is 1 commits behind head on release-1.28.

Files with missing lines Patch % Lines
controllers/ztunnel/ztunnel_controller.go 33.33% 1 Missing and 1 partial ⚠️
pkg/istiovalues/fips.go 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.28    #1596      +/-   ##
================================================
+ Coverage         71.22%   80.84%   +9.61%     
================================================
  Files                39       44       +5     
  Lines              2040     2307     +267     
================================================
+ Hits               1453     1865     +412     
+ Misses              424      324     -100     
+ Partials            163      118      -45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@istio-testing istio-testing merged commit f193af7 into istio-ecosystem:release-1.28 Feb 12, 2026
18 of 19 checks passed
@dgn dgn deleted the ztunnel-fips-140-2-1.28 branch February 12, 2026 12:33
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 12, 2026
* upstream/release-1.28:
  [release-1.28] Enable TLSv1.2 for ZTunnel when in FIPS mode (istio-ecosystem#1596)
zmiklank pushed a commit to zmiklank/sail-operator that referenced this pull request Feb 17, 2026
…osystem#1596)

* Enable TLSv1.2 for ZTunnel when in FIPS mode

This change builds on istio/ztunnel#1711 which
adds TLSv1.2 support to ZTunnel when `TLS12_ENABLED` is set to `true`.
This patch will always set the env var when in FIPS mode, for all
versions of ZTunnel, even though it is only supported from 1.29+, but
the env var will simply be ignored by versions that don't support it.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>

* Make sure that FipsEnabled is restored to original value

In our tests, we sometimes set FipsEnabled manually. We should make sure
to reset it to its original value during test cleanup.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>

---------

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
zmiklank pushed a commit to zmiklank/sail-operator that referenced this pull request Feb 17, 2026
…osystem#1596)

* Enable TLSv1.2 for ZTunnel when in FIPS mode

This change builds on istio/ztunnel#1711 which
adds TLSv1.2 support to ZTunnel when `TLS12_ENABLED` is set to `true`.
This patch will always set the env var when in FIPS mode, for all
versions of ZTunnel, even though it is only supported from 1.29+, but
the env var will simply be ignored by versions that don't support it.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>

* Make sure that FipsEnabled is restored to original value

In our tests, we sometimes set FipsEnabled manually. We should make sure
to reset it to its original value during test cleanup.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>

---------

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
istio-testing pushed a commit that referenced this pull request Feb 17, 2026
…1606)

* Enable TLSv1.2 for ZTunnel when in FIPS mode

This change builds on istio/ztunnel#1711 which
adds TLSv1.2 support to ZTunnel when `TLS12_ENABLED` is set to `true`.
This patch will always set the env var when in FIPS mode, for all
versions of ZTunnel, even though it is only supported from 1.29+, but
the env var will simply be ignored by versions that don't support it.



* Make sure that FipsEnabled is restored to original value

In our tests, we sometimes set FipsEnabled manually. We should make sure
to reset it to its original value during test cleanup.



---------

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 17, 2026
* upstream/release-1.27:
  [release-1.27] Enable TLSv1.2 for ZTunnel when in FIPS mode (istio-ecosystem#1596) (istio-ecosystem#1606)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 17, 2026
* upstream/release-1.27:
  [release-1.27] Enable TLSv1.2 for ZTunnel when in FIPS mode (istio-ecosystem#1596) (istio-ecosystem#1606)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 17, 2026
* upstream/release-1.27:
  [release-1.27] Enable TLSv1.2 for ZTunnel when in FIPS mode (istio-ecosystem#1596) (istio-ecosystem#1606)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants