-
Notifications
You must be signed in to change notification settings - Fork 22
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
Updates for operator sdk v1.28 #45
Updates for operator sdk v1.28 #45
Conversation
Skipping CI for Draft Pull Request. |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #45 +/- ##
==========================================
+ Coverage 22.41% 22.72% +0.30%
==========================================
Files 23 23
Lines 1307 1307
==========================================
+ Hits 293 297 +4
+ Misses 998 995 -3
+ Partials 16 15 -1
☔ View full report in Codecov by Sentry. |
6782eab
to
1f0abf2
Compare
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.
Left some comments.
Also, could we move back the controller go sources from internal/controller/xyz
to just controllers/
? I think internal/controller
is the default for new controller runtime projects, but the added "internal" in the path is unnecessary for our use case IMO
CI is still running the integration tests using
|
Reverted go v4 project structure changes. |
/retest |
/retest-required |
1 similar comment
/retest-required |
/retest-required |
3421ec9
to
f7b6524
Compare
/retest |
1f2e22b
to
a5e3d53
Compare
Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
…ration test suite Signed-off-by: Michael Valdron <[email protected]>
…ript Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
…tion under CONTRIBUTING.md Signed-off-by: Michael Valdron <[email protected]>
0ffd67e
to
604db86
Compare
/test |
@michael-valdron: The
Use 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 all |
/retest |
/retest |
/retest |
/retest |
…ation tests Signed-off-by: Michael Valdron <[email protected]>
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnmcollier, michael-valdron 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 |
* required changes to update operator sdk Signed-off-by: Michael Valdron <[email protected]> * ginkgo v2 migration changes. Signed-off-by: Michael Valdron <[email protected]> * remove extra ENVTEST definition Signed-off-by: Michael Valdron <[email protected]> * dependencies updated to match operator sdk v1.28 requirements Signed-off-by: Michael Valdron <[email protected]> * refactoring controllers package to internal/controller package as part of go/v4 prep changes in operator sdk v1.28 Signed-off-by: Michael Valdron <[email protected]> * bump gcr.io/kubebuilder/kube-rbac-proxy from v0.13.0 to v0.13.1 as part of operator sdk v1.28 changes Signed-off-by: Michael Valdron <[email protected]> * refactoring main.go to cmd/main.go as part of go/v4 prep changes in operator sdk v1.28 Signed-off-by: Michael Valdron <[email protected]> * update header under integration test source Signed-off-by: Michael Valdron <[email protected]> * update go version from 1.18 to 1.19 under ci workflows Signed-off-by: Michael Valdron <[email protected]> * import admissionv1beta1 changed to admissionv1 as part of operator sdk v1.28 changes Signed-off-by: Michael Valdron <[email protected]> * update license header and boilerplate files Signed-off-by: Michael Valdron <[email protected]> * rbac service account role bindings fixed with labels added Signed-off-by: Michael Valdron <[email protected]> * security context for manager container updated. Signed-off-by: Michael Valdron <[email protected]> * recent changes applied to bundle manifests Signed-off-by: Michael Valdron <[email protected]> * service account renamed to fix name prefix issue. Signed-off-by: Michael Valdron <[email protected]> * fixed envtest binary name Signed-off-by: Michael Valdron <[email protected]> * fixed relative path to 'config/crd/bases' under controller test suite Signed-off-by: Michael Valdron <[email protected]> * controller-gen deepcopy source update to header Signed-off-by: Michael Valdron <[email protected]> * fixup docker-buildx rule Signed-off-by: Michael Valdron <[email protected]> * CHANGELOG added Signed-off-by: Michael Valdron <[email protected]> * included change log documenting as part of PR acceptance criteria Signed-off-by: Michael Valdron <[email protected]> * target os is always linux Signed-off-by: Michael Valdron <[email protected]> * sa changed to service-account Signed-off-by: Michael Valdron <[email protected]> * bundle csv update Signed-off-by: Michael Valdron <[email protected]> * go v4 project structure changes reverted. Signed-off-by: Michael Valdron <[email protected]> * restore unset GOFLAGS Signed-off-by: Michael Valdron <[email protected]> * use operator namespace when waiting for operator pod to run for integration test suite Signed-off-by: Michael Valdron <[email protected]> * add registry operator deploy command to openshift integration test script Signed-off-by: Michael Valdron <[email protected]> * add touch command in Makefile to create junit report if does not exist Signed-off-by: Michael Valdron <[email protected]> * add docker-buildx optional step to build and run the operator instruction under CONTRIBUTING.md Signed-off-by: Michael Valdron <[email protected]> * make /tmp/artifacts directory if does not exist before running integration tests Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]> Signed-off-by: thepetk <[email protected]>
Please specify the area for this PR
What does does this PR do / why we need it:
Provides updates to the project files to support Operator SDK version 1.28, these changes are documented under https://sdk.operatorframework.io/docs/upgrading-sdk-version/ up to v1.28 docs.
Additional Changes:
registry-operator-system
for registry operator pod instead ofTEST_NAMESPACE
TEST_NAMESPACE
as an optional separate namespace for the devfile registry test deploymentsWhich issue(s) this PR fixes:
Fixes #?
fixes devfile/api#881
fixes devfile/api#1106
PR acceptance criteria:
Documentation
How to test changes / Special notes to the reviewer: