-
Notifications
You must be signed in to change notification settings - Fork 181
OCPBUGS-61038: SSL Medium Strength Cipher Suites Supported for operator #1911
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -660,6 +660,9 @@ var CertConfigMaps = []installer.UnrevisionedResource{ | |
|
||
// kubeconfig for check-endpoints | ||
{Name: "check-endpoints-kubeconfig"}, | ||
|
||
// kube-apiserver-operator-config (TLS cipherSuites/minTLSVersion for check-endpoints). | ||
{Name: "kube-apiserver-operator-config"}, | ||
Comment on lines
+664
to
+665
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainVerify resource-sync direction and asset presence to avoid rollout races. The pod now relies on /etc/kubernetes/static-pod-certs/configmaps/kube-apiserver-operator-config/config.yaml. Ensure:
Run to confirm sources/targets and the pod arg: 🏁 Script executed: #!/bin/bash
set -euo pipefail
# 1) Where is the CM created?
rg -nC2 'kube-apiserver-operator-config' manifests || true
rg -nC2 'kube-apiserver-operator-config' bindata || true
# 2) Verify ResourceSyncController maps it to the correct namespace (expect: operator -> target or vice versa, as intended).
rg -nC5 'SyncConfigMap\(.+kube-apiserver-operator-config' pkg || true
# 3) Confirm the pod.yaml uses the expected path/filename.
rg -nC3 '/etc/kubernetes/static-pod-certs/configmaps/kube-apiserver-operator-config/config\.yaml' bindata/assets/kube-apiserver/pod.yaml Length of output: 2034 Configure ResourceSyncController to sync 🤖 Prompt for AI Agents
|
||
} | ||
|
||
var CertSecrets = []installer.UnrevisionedResource{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Pass --config to check-endpoints matches the synced mount path.
The path aligns with CertConfigMaps sync to /etc/kubernetes/static-pod-certs/configmaps/kube-apiserver-operator-config/config.yaml. Please ensure the flag is mandatory-tolerant (does not crash if the file is temporarily absent during cert-sync) and logs the applied TLS params.
🏁 Script executed:
Length of output: 16368
Handle missing --config file gracefully and log TLS parameters (cipherSuites/minTLSVersion): The only check-endpoints invocation is in bindata/assets/kube-apiserver/pod.yaml with --config. In pkg/cmd/checkendpoints, wrap loading of the --config path so a temporarily absent file does not crash the binary and emit the effective cipherSuites and minTLSVersion on startup.
🤖 Prompt for AI Agents