CNTRLPLANE-2621: Restart operator when TLS config changes#1556
Conversation
|
@vincentdephily: This pull request references CNTRLPLANE-2621 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 story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughThe etcd-operator ConfigMap gained a TLS injection annotation and its embedded operator config had the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@vincentdephily: This pull request references CNTRLPLANE-2621 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 story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
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. |
|
@vincentdephily: This pull request references CNTRLPLANE-2621 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 story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
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. |
|
related to #1477 |
There was a problem hiding this comment.
maybe we should revert this https://github.com/openshift/cluster-etcd-operator/pull/1477/changes
There was a problem hiding this comment.
@vincentdephily what's that annotation doing? because I think that CVO will continue to reconcile that configmap in case anything is injected there.
If so, we indeed need to revert the ciphers coming from #1477
There was a problem hiding this comment.
@tjungblu That annotation asks CVO to overwrite minTLSVersion and cipherSuites to the value configured cluster-wide.
The values set in etcd's manifest would be used for the initial startup, or if no cluster-wide value is set (a valid choice for the user to make). In other words, they're like a default value.
Unless there is an etcd-specific reason to change Go's default tls config, you should probably do like other operators and let CVO handle this via the annotation.
On that note, comparing your list with go's defaults looks like you've selected old ciphers, possibly limiting the protocol to TLS1.2. Why is that @lance5890 ? I would have expected the default to either be maximally-compatible or maximally-modern.
There was a problem hiding this comment.
you should probably do like other operators and let CVO handle this via the annotation.
Agreed. Do you mind to commit a revert of #1477 here too? I'm lgtm otherwise
There was a problem hiding this comment.
yes, please feel free to revert my previous commit using git revert 3967769423fc86a65f8e5399c8b614b09580259e
There was a problem hiding this comment.
yes, please feel free to revert my previous commit using git revert 3967769423fc86a65f8e5399c8b614b09580259e
|
/assign |
This reverts commit 3967769.
Updated config is injected by cluster-version-operator. CNTRLPLANE-2621: Assess TLSv1.2 usage on openshift-etcd-operator ports
83f0833 to
a79ec72
Compare
|
@vincentdephily: This pull request references CNTRLPLANE-2621 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 story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
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. |
|
Reverted 3967769 |
|
/retest-required |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tjungblu, vincentdephily The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by CVO testing |
|
@ingvagabund: This PR has been marked as verified by DetailsIn response to this:
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. |
|
/retest-required |
|
@vincentdephily: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Updated config is injected by cluster-version-operator.
CNTRLPLANE-2621: Assess TLSv1.2 usage on openshift-etcd-operator ports