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

pkg/ansible/controller; Remove IsAlreadyRegistered() check in controller #973

Merged
merged 4 commits into from Jan 23, 2019

Conversation

dymurray
Copy link
Contributor

Description of the change:
There is no need to skip adding the controller if the version is already registered.

Motivation for the change:
This currently breaks the ability to watch multiple kinds in the same operator.

Closes #962

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 21, 2019
@hasbro17
Copy link
Contributor

/hold

We need to update the SDK version in Gopkg.toml to use the branch v0.4.x so the CI runs against the branch and not the last tag v0.4.0
https://github.com/operator-framework/operator-sdk/blob/v0.4.x/pkg/scaffold/ansible/gopkgtoml.go#L39

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 21, 2019
@AlexNPavel
Copy link
Contributor

In reference to @hasbro17's comment, we are waiting to merge this PR: #974

@AlexNPavel
Copy link
Contributor

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 21, 2019
@shawn-hurley shawn-hurley added the language/ansible Issue is related to an Ansible operator project label Jan 22, 2019
Copy link
Member

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

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

LGTM

@dymurray dymurray merged commit 43906dd into operator-framework:v0.4.x Jan 23, 2019
shawn-hurley pushed a commit to shawn-hurley/operator-sdk that referenced this pull request Apr 23, 2019
…ler (operator-framework#973)

* pkg/ansible/controller; Remove IsVersionRegistered check

* Update e2e tests to watch multiple kinds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language/ansible Issue is related to an Ansible operator project size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants