Skip to content
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 v1 #2543

Merged
merged 5 commits into from
Oct 12, 2020
Merged

Operator sdk v1 #2543

merged 5 commits into from
Oct 12, 2020

Conversation

ukclivecox
Copy link
Contributor

@ukclivecox ukclivecox commented Oct 11, 2020

What this PR does / why we need it:

Updates the openshift release process to use to latest operator-sdk and conform to the new bundle requirements: https://redhat-connect.gitbook.io/certified-operator-guide/appendix/bundle-maintenance-after-migration

  • Remove operator/seldon-operator
  • Creates new additions to operator/Makefile to create bundle and package manifests and build images for openshift bundle images for testing via quay or push for certified operator

The new setup is following kubebuilder so this work allows us to align more closely.

Also includes updates to v1beta1 CRD so it actually can be run in k8s 1.18

Which issue(s) this PR fixes:

Fixes #2532

Special notes for your reviewer:

Please see the added readme files for details and future challenges w.r.t use of v1 CRD.

Does this PR introduce a user-facing change?:

NONE

@seldondev
Copy link
Collaborator

Sun Oct 11 17:35:14 UTC 2020
The logs for [pr-build] [1] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2543/1.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2543 --build=1

@seldondev
Copy link
Collaborator

Sun Oct 11 17:35:19 UTC 2020
The logs for [lint] [2] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2543/2.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2543 --build=2

manifests_v1: controller-gen
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd_v1/bases crd:crdVersions=v1
$(CONTROLLER_GEN) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd_v1/bases crd:crdVersions=v1
#$(CONTROLLER_GEN) rbac:roleName=manager-role webhook paths="./apis/machinelearning.seldon.io/v1" output:crd:artifacts:config=config/crd_v1/bases crd:crdVersions=v1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replicated comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are not the same. This is the addition to possibly at later to only create v1 SeldonDeployment CRD

@seldondev
Copy link
Collaborator

Mon Oct 12 10:03:39 UTC 2020
The logs for [pr-build] [3] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2543/3.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2543 --build=3

@seldondev
Copy link
Collaborator

Mon Oct 12 10:03:50 UTC 2020
The logs for [lint] [4] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2543/4.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-2543 --build=4

sourceNamespace: marketplace
startingCSV: seldon-operator.v1.1.0
startingCSV: seldon-operator.v1.2.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this expected to be 1.2.2 instead of 1.3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.2.2 is last official release. Actually always good we leave this at 1.2.2 as we can check auto upgrades

Copy link
Contributor

@axsaucedo axsaucedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a couple of comments but other than that looks good

@axsaucedo
Copy link
Contributor

/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@seldondev seldondev merged commit be19820 into SeldonIO:master Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update operator Redhat and OperatorHub integration
3 participants