Skip to content

NE-150: operator/ingress: Add observedGeneration#472

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Miciah:NE-150-operator-slash-ingress-add-observedGeneration
Oct 16, 2019
Merged

NE-150: operator/ingress: Add observedGeneration#472
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Miciah:NE-150-operator-slash-ingress-add-observedGeneration

Conversation

@Miciah
Copy link
Copy Markdown
Contributor

@Miciah Miciah commented Oct 15, 2019

https://jira.coreos.com/projects/NE/issues/NE-150

  • operator/v1/types_ingress.go (IngressControllerStatus): Add ObservedGeneration field.
  • operator/v1/zz_generated.swagger_doc_generated.go: Regenerate.

@ironcladlou

https://jira.coreos.com/projects/NE/issues/NE-150

* operator/v1/types_ingress.go (IngressControllerStatus): Add ObservedGeneration
field.
* operator/v1/zz_generated.swagger_doc_generated.go: Regenerate.
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 15, 2019
@ironcladlou
Copy link
Copy Markdown
Contributor

Hm, shouldn't CRDs have also been regenerated? (#470)

@Miciah
Copy link
Copy Markdown
Contributor Author

Miciah commented Oct 15, 2019

Hm, shouldn't CRDs have also been regenerated? (#470)

Sorry, I'll update.

@Miciah
Copy link
Copy Markdown
Contributor Author

Miciah commented Oct 15, 2019

Maybe I'm misunderstanding, but it looks like operator/v1 CRDs don't get generated, only operator/v1alpha1 and other API groups: https://github.com/openshift/api/blob/master/Makefile#L24-L29

@ironcladlou
Copy link
Copy Markdown
Contributor

Ah, we will have to fix that up before we can switch over to consuming the CRDs from openshift/api (which I think we should do but which I also think will be a bit of work).

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2019
@ironcladlou
Copy link
Copy Markdown
Contributor

/approve

@ironcladlou
Copy link
Copy Markdown
Contributor

@knobunc PTAL for approval

Copy link
Copy Markdown
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/approve


// observedGeneration is the most recent generation observed.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The change itself looks good, but you're getting closer to the generic OperatorStatus have you considered switching to that?

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ironcladlou, Miciah, soltysh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Oct 16, 2019
@openshift-merge-robot openshift-merge-robot merged commit 4e0a90d into openshift:master Oct 16, 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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants