Skip to content

TRT-2858: Revert "Merge pull request #1196 from ingvagabund/tls-injection-to-console" - #1200

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
redhat-chai-bot:revert-1196-tls-injection
Jul 28, 2026
Merged

TRT-2858: Revert "Merge pull request #1196 from ingvagabund/tls-injection-to-console"#1200
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
redhat-chai-bot:revert-1196-tls-injection

Conversation

@redhat-chai-bot

@redhat-chai-bot redhat-chai-bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

What

Reverts #1196 (feat: inject centralized TLS into console operand).

Why

PR #1196 injects an unsupported servingInfo.minTLSVersion config value, causing every console pod to crash at startup with:

Failed to load config: servingInfo.minTLSVersion is not supported

This breaks all 16 blocking jobs in the 5.0 nightly payload 5.0.0-0.nightly-2026-07-28-081944 — the 4th consecutive rejection. Install jobs time out waiting for the console operator; upgrade jobs stall when the console PDB blocks master node drain. Identical crash observed across all platforms (AWS, Azure, GCP, metal, HyperShift, SNO).

Confidence: 100% — new failure mode, sole console-operator PR in the payload, error message directly references the field added by the PR.

Tracking


@smg247 requested in Slack thread

Summary by CodeRabbit

  • Improvements
    • Updated console access permissions to read the cluster configuration resources required for operation.
    • Simplified console configuration by removing TLS settings from generated console configuration.
    • Console TLS behavior now follows the platform’s standard configuration rather than values supplied through observed console configuration.

…ion-to-console"

This reverts commit a1913f9, reversing
changes made to 694a2de.
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Walkthrough

The operator removes centralized TLS observation and injection, updates related RBAC permissions, simplifies console configuration builders, and adjusts tests and startup wiring.

Changes

TLS configuration injection removal

Layer / File(s) Summary
Configuration API permissions
manifests/03-rbac-role-cluster.yaml
The ClusterRole resource list changes from apiservers to selected config.openshift.io resources while retaining read-only verbs.
Observer and synchronization removal
pkg/console/configobservation/..., pkg/console/operator/sync_v400.go, pkg/console/operator/sync_v400_test.go, pkg/console/starter/starter.go
Config observer definitions and startup wiring are removed, and TLS values are no longer read from Console.spec.observedConfig.
Console configuration builder changes
pkg/console/subresource/configmap/*, pkg/console/subresource/consoleserver/*
TLS builder inputs, TLSConfig, generated TLS assignments, and TLS injection tests are removed; remaining ConfigMap callers are updated.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: jira/valid-reference

Suggested reviewers: spadgett, leo6leo

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers what, why, and tracking, but omits most required template sections. Add the missing Analysis/Root cause, Solution description, Test setup, Test cases, Browser conformance, Additional info, and Reviewers/assignees sections.
✅ Passed checks (14 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed No test titles were added or changed; the touched tests use static function/subtest names and no dynamic identifiers or Ginkgo-style titles.
Test Structure And Quality ✅ Passed No Ginkgo specs were changed; the modified tests are plain table-driven Go unit tests, so the Ginkgo quality check is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo e2e specs were added; changed files are unit tests, controller code, and manifests, with no MicroShift-incompatible test additions.
Single Node Openshift (Sno) Test Compatibility ✅ Passed No new Ginkgo e2e tests were added; touched tests are unit tests with no multi-node or SNO-specific assumptions.
Topology-Aware Scheduling Compatibility ✅ Passed No changed manifest, controller, or deployment code adds topology-sensitive scheduling constraints; edits only remove TLS/observer wiring and adjust RBAC/config builders.
Ote Binary Stdout Contract ✅ Passed No new stdout writes were added in process-level code; the diff only removes TLS observer/config builder wiring, and no main/init/TestMain stdout calls appear in changed files.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Only unit-test and library changes are present; no new Ginkgo e2e tests or IPv4/public-internet dependencies were added.
No-Weak-Crypto ✅ Passed No MD5/SHA1/DES/RC4/3DES/Blowfish/ECB, custom crypto, or secret/token comparison issues were introduced in the touched files.
Container-Privileges ✅ Passed No changed manifest or code line adds privileged settings; the only YAML change is RBAC rules, and diff searches found no hostPID/privileged/allowPrivilegeEscalation/root flags.
No-Sensitive-Data-In-Logs ✅ Passed PASS: The commit only removes TLS config plumbing; diff scan found no added log statements or new logging of secrets/PII in touched files.
Title check ✅ Passed The title clearly matches the main change and includes the required Jira prefix.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@smg247

smg247 commented Jul 28, 2026

Copy link
Copy Markdown
Member

/override ci/prow/e2e-aws-console
/override ci/prow/e2e-aws-operator
/override ci/prow/e2e-azure-ovn-upgrade
/override ci/prow/e2e-gcp-ovn

@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@smg247: Overrode contexts on behalf of smg247: ci/prow/e2e-aws-console, ci/prow/e2e-aws-operator, ci/prow/e2e-azure-ovn-upgrade, ci/prow/e2e-gcp-ovn

Details

In response to this:

/override ci/prow/e2e-aws-console
/override ci/prow/e2e-aws-operator
/override ci/prow/e2e-azure-ovn-upgrade
/override ci/prow/e2e-gcp-ovn

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci
openshift-ci Bot requested review from jhadvig and spadgett July 28, 2026 15:13
@stbenjam

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 28, 2026
@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: redhat-chai-bot, stbenjam
Once this PR has been reviewed and has the lgtm label, please assign jhadvig for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@smg247

smg247 commented Jul 28, 2026

Copy link
Copy Markdown
Member

/verified bypass

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 28, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@smg247: The verified label has been added.

Details

In response to this:

/verified bypass

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@smg247

smg247 commented Jul 28, 2026

Copy link
Copy Markdown
Member

/retitle TRT-2858: Revert "Merge pull request #1196 from ingvagabund/tls-injection-to-console"

@openshift-ci openshift-ci Bot changed the title Revert "Merge pull request #1196 from ingvagabund/tls-injection-to-console" TRT-2858: Revert "Merge pull request #1196 from ingvagabund/tls-injection-to-console" Jul 28, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 28, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: This pull request references TRT-2858 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.0.0" version, but no target version was set.

Details

In response to this:

What

Reverts #1196 (feat: inject centralized TLS into console operand).

Why

PR #1196 injects an unsupported servingInfo.minTLSVersion config value, causing every console pod to crash at startup with:

Failed to load config: servingInfo.minTLSVersion is not supported

This breaks all 16 blocking jobs in the 5.0 nightly payload 5.0.0-0.nightly-2026-07-28-081944 — the 4th consecutive rejection. Install jobs time out waiting for the console operator; upgrade jobs stall when the console PDB blocks master node drain. Identical crash observed across all platforms (AWS, Azure, GCP, metal, HyperShift, SNO).

Confidence: 100% — new failure mode, sole console-operator PR in the payload, error message directly references the field added by the PR.

Tracking


@smg247 requested in Slack thread

Summary by CodeRabbit

  • Improvements
  • Updated console access permissions to read the cluster configuration resources required for operation.
  • Simplified console configuration by removing TLS settings from generated console configuration.
  • Console TLS behavior now follows the platform’s standard configuration rather than values supplied through observed console configuration.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@smg247

smg247 commented Jul 28, 2026

Copy link
Copy Markdown
Member

/label approved
/label docs-approved
/label px-approved

@openshift-ci openshift-ci Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR labels Jul 28, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 1388a99 into openshift:main Jul 28, 2026
11 checks passed
@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: This PR was included in a payload test run from openshift/cluster-version-operator#1435
trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-ci-5.0-e2e-aws-upgrade-ovn-single-node

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f0afade0-8aa8-11f1-8113-af31792b0819-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. docs-approved Signifies that Docs has signed off on this PR jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants