OCPBUGS-54650, OCPBUGS-54651, OCPBUGS-54652: desiredSubscription: Specify annotations and SCC#1214
Conversation
|
@Miciah: This pull request references Jira Issue OCPBUGS-54650, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
@Miciah: This pull request references Jira Issue OCPBUGS-54650, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: This pull request references Jira Issue OCPBUGS-54651, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
@Miciah: This pull request references Jira Issue OCPBUGS-54650, 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. This pull request references Jira Issue OCPBUGS-54651, 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. 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. |
1b82d96 to
dfe9e52
Compare
Specify the "openshift.io/required-scc" and
"target.workload.openshift.io/management" annotations and as well as resource
requests (but *not* resource limits) for the subscription in order to comply
with OpenShift platform conventions, which require specifying a required SCC and
workload partitioning configuration and prohibit specifying resource limits for
platform components.
Specifying annotations requires bumping the vendored operator-framework API:
go get github.com/operator-framework/api
go mod tidy
go mod vendor
This commit fixes OCPBUGS-54650 and OCPBUGS-54651 and partially fixes
OCPBUGS-54652.
https://issues.redhat.com/browse/OCPBUGS-54650
https://issues.redhat.com/browse/OCPBUGS-54651
https://issues.redhat.com/browse/OCPBUGS-54652
* go.mod: Bump github.com/operator-framework/api to get the
Subscription.spec.config.annotations field.
* go.sum:
* vendor/*: Regenerate.
* pkg/operator/controller/gatewayclass/subscription.go
(RequiredSCCRestrictedV2): New const for the "restricted-v2" SCC name.
(desiredSubscription): Specify resource requests (but not limits) and the
"openshift.io/required-scc" and "target.workload.openshift.io/management"
annotations.
dfe9e52 to
58959aa
Compare
|
@Miciah: This pull request references Jira Issue OCPBUGS-54650, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: This pull request references Jira Issue OCPBUGS-54651, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
Specify the "target.workload.openshift.io/management" annotation for Istiod. This commit, along with the previous, fixes OCPBUGS-54652. https://issues.redhat.com/browse/OCPBUGS-54652 * pkg/operator/controller/gatewayclass/istio.go (desiredIstio): Specify the "target.workload.openshift.io/management" annotation in Istio.spec.values.pilot.podAnnotations.
|
@Miciah: This pull request references Jira Issue OCPBUGS-54650, which is valid. 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. This pull request references Jira Issue OCPBUGS-54651, which is valid. 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. This pull request references Jira Issue OCPBUGS-54652, 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. 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. |
| RequiredSCCRestrictedV2 = "restricted-v2" | ||
| // WorkloadPartitioningManagementAnnotationKey is the annotation key for | ||
| // workload partitioning. | ||
| WorkloadPartitioningManagementAnnotationKey = "target.workload.openshift.io/management" |
There was a problem hiding this comment.
We have this defined here too:
Is there a way to combine these?There was a problem hiding this comment.
I could put it in names.go, or I could define a new file for these consts that really ought to be in some imported package (in this case, probably in openshift/api) but are not.
|
I'm not seeing the expected results. However,
|
|
I'm seeing weird behavior in my own testing. /test e2e-aws-gatewayapi |
|
/assign @alebedev87 |
|
From the last e2e-aws-gatewayapi run— Good: Not good: But cluster-ingress-operator specified the correct |
|
The results for e2e-aws-ovn-serial only show flakes, not failures. It timed out after 4 hours /test e2e-aws-ovn-serial |
|
TestNodePool/HostedCluster failures |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: candita 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 |
|
/test e2e-aws-ovn-serial |
|
In a Cluster Bot cluster launched using this PR ( |
|
@Miciah: The following test failed, say
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. |
|
e2e-aws-ovn failed because Let's see whether the failures repeat. |
6897ce1
into
openshift:master
|
@Miciah: Jira Issue OCPBUGS-54650: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-54650 has been moved to the MODIFIED state. Jira Issue OCPBUGS-54651: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-54651 has been moved to the MODIFIED state. Jira Issue OCPBUGS-54652: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-54652 has been moved to the MODIFIED state. 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. |
|
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-ingress-operator |
Specify the "openshift.io/required-scc" and "target.workload.openshift.io/management" annotations and as well as resource requests (but not resource limits) for the subscription in order to comply with OpenShift platform conventions, which require specifying a required SCC and prohibit specifying resource limits for platform components.
Specifying annotations requires bumping the vendored operator-framework API:
Also, specify the "target.workload.openshift.io/management" annotation for Istiod.
These changes fix OCPBUGS-54650, OCPBUGS-54651, and OCPBUGS-54652.