-
Notifications
You must be signed in to change notification settings - Fork 67
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
operator sdk upgrade chores #1202
Conversation
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.14.0/ Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.16.0/#bump-operator_sdkutil-in-requirementsyml Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.17.0/#gov3-upgrade-go-and-dependencies Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.18.0/#support-image-digests-instead-of-tags Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.21.0/ Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.22.0/ Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.23.0/ Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.25.0/ Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai 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 |
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.28.0/ Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com> upgrade k8s to 1.26 Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
a243e4a
to
c6b86f1
Compare
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com> `make bundle` Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
c6b86f1
to
3217a9c
Compare
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2383cc5
to
ec3a350
Compare
ec3a350
to
96e847a
Compare
resources: | ||
- api: | ||
crdVersion: v1 | ||
namespaced: true | ||
controller: true | ||
domain: openshift.io | ||
group: oadp | ||
kind: DataProtectionApplication | ||
path: github.com/openshift/oadp-operator/api/v1alpha1 | ||
version: v1alpha1 | ||
webhooks: | ||
defaulting: true | ||
webhookVersion: v1 | ||
- api: | ||
crdVersion: v1 | ||
namespaced: true | ||
controller: true | ||
domain: openshift.io | ||
group: oadp | ||
kind: CloudStorage | ||
path: github.com/openshift/oadp-operator/api/v1alpha1 | ||
version: v1alpha1 | ||
webhooks: | ||
defaulting: true | ||
webhookVersion: v1 |
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.
This is a pre-requisite to get CSV owned generation to work.
These places Do you know how operator sdk code was first generated? If yes, we could try this approach dora-metrics/pelorus#1045 |
probably some init commands when operator-sdk used was about v1.12 or so. |
PR needs rebase. 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. |
@kaovilai: The following tests failed, say
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. |
hold for experiments
Approximately keeping Makefile in-line with latest operator-sdk via following https://sdk.operatorframework.io/docs/upgrading-sdk-version/ upgrade migrations
Why:
figuring out if this helps
make bundle
update theclusterserviceversion.spec.customresourcedefinitions.owned[]
git/operator-sdk/testdata/go/v3/memcached-operator is working, still digging why this repo is not working.
Discoveries
Operator UI can be customizable somewhat with x-descriptors
https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md
which if one authors the x_type.go can be added for generation like so
+operator-sdk:csv:customresourcedefinitions:type=[spec,status],xDescriptors={"urn:alm:descriptor:com.tectonic.ui:podCount","urn:alm:descriptor:io.kubernetes:custom"}
Otherwise, such as in Velero CRD case, you can manually specify them in config/manifests/oadp-operator.clusterserviceversion.yaml
These descriptors were previously added manually