Skip to content

Conversation

dinhxuanvu
Copy link
Member

The conditions array in the spec is now available for operator to
create/update as the operator progresses through installation
process. As the spec is updated, the object generation will be
incremented and it can be used for tracking object changes.

Signed-off-by: Vu Dinh vudinh@outlook.com

@openshift-ci
Copy link

openshift-ci bot commented May 10, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dinhxuanvu

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 openshift-ci bot requested review from awgreene and njhale May 10, 2021 18:36
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 10, 2021
@dinhxuanvu dinhxuanvu requested a review from ecordell May 13, 2021 07:05
@dinhxuanvu
Copy link
Member Author

The proposal: https://hackmd.io/9wG20hu5TU-y1HrkhvcsZQ?view FYI

The conditions array in the spec is now available for operator to
create/update as the operator progresses through installation
process. As the spec is updated, the object generation will be
incremented and it can be used for tracking object changes.

Signed-off-by: Vu Dinh <vudinh@outlook.com>
@dinhxuanvu dinhxuanvu force-pushed the opcon-crd branch 3 times, most recently from 0b69bb6 to 92efc91 Compare May 25, 2021 19:36
Copy link
Member

@awgreene awgreene left a comment

Choose a reason for hiding this comment

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

Great turn around time on this @dinhxuanvu, left some nits.

Copy link
Member

@awgreene awgreene left a comment

Choose a reason for hiding this comment

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

2 small nits

@dinhxuanvu dinhxuanvu force-pushed the opcon-crd branch 2 times, most recently from 32d8563 to cc02ecb Compare May 26, 2021 15:14
Signed-off-by: Vu Dinh <vudinh@outlook.com>
@kevinrizza
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2021
@openshift-merge-robot openshift-merge-robot merged commit bb9b80e into operator-framework:master May 26, 2021
@estroz
Copy link
Member

estroz commented May 27, 2021

Out of curiosity: why v2 and not v2beta1? Are we confident no significant changes will be needed soon? I feel that it’s a bit hasty to just throw a new stable version out, especially given how short the lifetime of v1 was.

@awgreene
Copy link
Member

awgreene commented May 27, 2021

Out of curiosity: why v2 and not v2beta1? Are we confident no significant changes will be needed soon? I feel that it’s a bit hasty to just throw a new stable version out, especially given how short the lifetime of v1 was.

Spoke with Eric about this offline, posting here for visibility. We could have simply added the new fields to v1 but OLM would be unable to identify users that are still writing to the broken v1 API. Additionally, there were concerns that users would rely on a stable (v1) version over a beta/alpha version.

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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants