-
Notifications
You must be signed in to change notification settings - Fork 180
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
OCPBUGS-23999: Set owner for default ingress configmap #1000
base: master
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
/test e2e-aws-ovn |
1 similar comment
/test e2e-aws-ovn |
3e141bd
to
f8db41b
Compare
/test e2e-aws-ovn |
Annotations: map[string]string{ | ||
annotations.OpenShiftComponent: "Networking / router", | ||
}, |
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.
You'll need to update updateRouterCAConfigMap
and deleteRouterCAConfigMap
if you want the operator to add this annotation on upgrade.
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.
Updated routerCAConfigMapsEqual
to return false when annotations are not set or do not match the desired. This will trigger Update
call in updateRouterCAConfigMap
Annotations: map[string]string{ | ||
annotations.OpenShiftComponent: "Networking / router", | ||
}, |
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.
You'll need to add update logic to ensureRouterCASecret
if you want the operator to add this annotation on upgrade.
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.
I don't think its required, if !reflect.DeepEqual
in ensureRouterCASecret
would start an update if annotations mismatch
f8db41b
to
41c7d08
Compare
@vrutkovs: This pull request references Jira Issue OCPBUGS-23999, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In 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 kubernetes/test-infra repository. |
/test e2e-gcp-operator |
Since you've started this... |
melvinjoseph@mjoseph-mac Downloads % oc get clusterversion melvinjoseph@mjoseph-mac Downloads % oc get secret -n openshift-ingress-operator router-ca -o yaml | yq -y '.metadata.annotations' Marking this bug as verified using pre-image verification process |
/label qe-approved |
@vrutkovs: This pull request references Jira Issue OCPBUGS-23999, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In 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 kubernetes/test-infra repository. |
/test e2e-gcp-operator |
/retest-required |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
@vrutkovs should we close this one, or will you pursue the changes that Miciah mentioned? |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Verified that annotations are being set on clean install and in the upgrade job:
|
FYI: Need #1054 to fixed operator E2E which is permafailing. |
/retest |
@vrutkovs: all tests passed! Full PR test history. Your PR dashboard. 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. |
This adds annotation which identifies the component used to file issues with this certificate. The annotation is verified by the test, so that all certificates would be registered and have owners assigned. More metadata would be added later.
See openshift/enhancements#1502 for proposed workflow with TLS registry