-
Notifications
You must be signed in to change notification settings - Fork 30
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
PODAUTO-225: Fix e2e-olm-upgrade bugs #173
Conversation
This commit does 3 things: 1. Removes the common app.kubernetes.io/name commonLabel that kustomize uses from the deployment. This is because kustomize commonLabels will mutate the labelSelector that the replica set uses to find its pods. It is discouraged by k8s to update the label selectors so this reverts that change. 2. Adds the --extra-service-accounts arg to operator-sdk bundle. This is because during an operator-sdk bundle upgrade, it will delete the service accounts that it thinks do not belong to the CSV anymore (since it did not appear in the CSV). 3. Adds a local-upgrade script that simulates a local upgrade that CI does.
@maxcao13: This pull request references PODAUTO-225 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.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
@maxcao13: 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. |
/lgtm Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joelsmith, maxcao13 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[ART PR BUILD NOTIFIER] Distgit: vertical-pod-autoscaler-operator |
This commit does 3 things:
--extra-service-accounts arg
to operator-sdk bundle. This is because during an operator-sdk bundle upgrade, it will delete the service accounts that it thinks do not belong to the CSV anymore (since it did not appear in the CSV).Extra notes on this: