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

Add minimum kube version to CSV & check it against server version #663

Merged
merged 4 commits into from
Jan 17, 2019

Conversation

dinhxuanvu
Copy link
Member

CSV must contain minimum kube version under spec.minKubeVersion.
OLM will retrieve that info from CSV and check it against server
version to determine its capability. If not compatible, OLM will
not install operator(s).

Signed-off-by: Vu Dinh vdinh@redhat.com

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 10, 2019
@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 2 times, most recently from cf3e9a8 to 1058462 Compare January 10, 2019 22:11
@ecordell
Copy link
Member

@dinhxuanvu can you rebase this on master? that should re-kick the tests and also remove the gitlab required check

@dinhxuanvu dinhxuanvu changed the title [WIP] Add minimum kube version to CSV & check it against server version Add minimum kube version to CSV & check it against server version Jan 10, 2019
@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 9 times, most recently from e2b3767 to 531267d Compare January 11, 2019 15:03
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 11, 2019
@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 7 times, most recently from 61d29de to c6c7b84 Compare January 11, 2019 22:58
@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 3 times, most recently from 1bad5c0 to 88f95d0 Compare January 12, 2019 01:08
@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 7 times, most recently from ffe216a to c2137af Compare January 15, 2019 15:49
@dinhxuanvu
Copy link
Member Author

/retest

@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 2 times, most recently from a9c1cd8 to 3332712 Compare January 16, 2019 18:44
@dinhxuanvu
Copy link
Member Author

/retest

@dinhxuanvu dinhxuanvu force-pushed the min-kube branch 3 times, most recently from d599c64 to 8eabf30 Compare January 17, 2019 00:32
@dinhxuanvu
Copy link
Member Author

/retest

Jeff Peeler and others added 3 commits January 17, 2019 12:32
Check new CSV field against server version reported from discovery and
fail requirement check if version is earlier than necessary.
CSV must contain minimum kube version under spec.minKubeVersion.
OLM will retrieve that info from CSV and check it against server
version to determine its capability. If not compatible, OLM will
not install operator(s).

Signed-off-by: Vu Dinh <vdinh@redhat.com>
The format of kube version in CSV should be Major.Minor.Patch. For
example, 1.1.1 is correct.

Signed-off-by: Vu Dinh <vdinh@redhat.com>
@dinhxuanvu
Copy link
Member Author

/test e2e-aws

@ecordell
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 17, 2019
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dinhxuanvu, ecordell

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 17, 2019
@openshift-merge-robot openshift-merge-robot merged commit 4d6a1e5 into operator-framework:master Jan 17, 2019
ecordell pushed a commit to ecordell/operator-lifecycle-manager that referenced this pull request Mar 8, 2019
Add minimum kube version to CSV & check it against server version
@njhale njhale added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants