-
Notifications
You must be signed in to change notification settings - Fork 72
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
[OADP-452 , OADP-490] Add labels to dpa podConfig, Fix velero pod (match)labels missing deploy: velero
#668
Conversation
deploy: velero
deploy: velero
deploy: velero
deploy: velero
deploy: velero
deploy: velero
/test 4.10-operator-e2e-azure |
/test 4.9-operator-e2e-aws |
1 similar comment
/test 4.9-operator-e2e-aws |
deploy: velero
deploy: velero
Looks like subscription suite test should add some waits to |
Wont this error out on existing user environments now that I think about it? Isn't the selector an immutable field? |
I'll test this. Maybe we need upgrade suite test. |
+1 I think that's a great idea. cc @weshayutin |
basically install published CSVs and try install the new CSV over it and check no reconcile failures |
Will do a quick manual test so we can get this merged or make changes. But will work on upgrade suite test later |
Step to test upgrade export GIT_REV=$(git rev-parse --short HEAD)
CATALOG_IMG=ttl.sh/oadp-operator-catalog-$GIT_REV:1h \
BUNDLE_IMG=registry.redhat.io/oadp/oadp-operator-bundle@sha256:101d6d1c97f56114ce44542395ccd8fe273f36a314939022ede79f60b7aa9654 \
make catalog-build catalog-push Install OADP operator from catalogsource, create DPA that reconciles. Check velero deployment is ready. Build bundle for this PR IMG=ttl.sh/oadp-operator-$GIT_REV:1h \
BUNDLE_IMG=ttl.sh/oadp-operator-bundle-$GIT_REV:1h \
CATALOG_BASE_IMG=ttl.sh/oadp-operator-catalog-$GIT_REV:1h \
CATALOG_IMG=ttl.sh/oadp-operator-catalog-$GIT_REV:1h \
make docker-build docker-push bundle bundle-build bundle-push catalog-build-replaces catalog-push Wait for update to refresh on cluster. Auto or manual approve update. Check no errors on velero deployment or dpa. where catalog-build-replaces comes from https://github.com/openshift/oadp-operator/pull/681/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R355 |
yup error
|
commit e57aade Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Tue May 10 17:12:39 2022 -0400 return err from Delete commit ed53505 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Tue May 10 17:04:38 2022 -0400 mitigate immutable selector update with recreate commit 32d3faa Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Tue May 10 15:49:19 2022 -0400 pod -> pods commit 2870858 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Mon May 9 15:34:24 2022 -0400 add catalog-build-replaces commit a0ecefd Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:46:16 2022 -0400 go fmt from make test commit c0dc1a6 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:43:40 2022 -0400 clean up restic config nil condition commit d2724b8 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:26:54 2022 -0400 return from customizeResticDaemonset early if config is nil commit 04cdb7c Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:26:15 2022 -0400 remove cmp from velero_test commit c8744cd Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 01:46:21 2022 -0400 add unit test for proxy commit 4350a91 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 23:13:03 2022 -0400 go mod tidy commit 6cc6dd2 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 23:12:56 2022 -0400 don't override matchlabels commit 0a34837 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:27:30 2022 -0400 move comment commit c2b6754 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:18:32 2022 -0400 go fmt commit 3ef486a Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:18:23 2022 -0400 label struct comment, make bundle, deepcopy commit 4936b44 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:09:08 2022 -0400 Add labels to podConfig of restic and velero commit b7f04ad Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 21:26:54 2022 -0400 err update commit da84c27 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 21:22:53 2022 -0400 AppendUniqueKeyStringOfStringMaps handle nil sandwich commit f026cb5 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 21:13:58 2022 -0400 deploy pod label is back commit 4b237d6 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 20:53:38 2022 -0400 bring back `deploy: velero` label to velero pods
/retest |
@kaovilai: 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/test-infra repository. I understand the commands that are listed here. |
* Squashed commit from #668 of the following: commit e57aade Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Tue May 10 17:12:39 2022 -0400 return err from Delete commit ed53505 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Tue May 10 17:04:38 2022 -0400 mitigate immutable selector update with recreate commit 32d3faa Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Tue May 10 15:49:19 2022 -0400 pod -> pods commit 2870858 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Mon May 9 15:34:24 2022 -0400 add catalog-build-replaces commit a0ecefd Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:46:16 2022 -0400 go fmt from make test commit c0dc1a6 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:43:40 2022 -0400 clean up restic config nil condition commit d2724b8 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:26:54 2022 -0400 return from customizeResticDaemonset early if config is nil commit 04cdb7c Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 09:26:15 2022 -0400 remove cmp from velero_test commit c8744cd Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Fri May 6 01:46:21 2022 -0400 add unit test for proxy commit 4350a91 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 23:13:03 2022 -0400 go mod tidy commit 6cc6dd2 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 23:12:56 2022 -0400 don't override matchlabels commit 0a34837 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:27:30 2022 -0400 move comment commit c2b6754 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:18:32 2022 -0400 go fmt commit 3ef486a Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:18:23 2022 -0400 label struct comment, make bundle, deepcopy commit 4936b44 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 22:09:08 2022 -0400 Add labels to podConfig of restic and velero commit b7f04ad Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 21:26:54 2022 -0400 err update commit da84c27 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 21:22:53 2022 -0400 AppendUniqueKeyStringOfStringMaps handle nil sandwich commit f026cb5 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 21:13:58 2022 -0400 deploy pod label is back commit 4b237d6 Author: Tiger Kaovilai <tkaovila@redhat.com> Date: Thu May 5 20:53:38 2022 -0400 bring back `deploy: velero` label to velero pods * go mod tidy
You can now customize pod labels of velero and restic pods using podConfig configurable in DataProtectionApplication.
Closes OADP-452 , OADP-490