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

[Merged by Bors] - Removed namespace for zookeeper cluster #140

Closed
wants to merge 8 commits into from

Conversation

fhennig
Copy link
Contributor

@fhennig fhennig commented Feb 4, 2022

Description

This PR removes the namespace field for the zookeeper reference; i.e. it is now not required to specify a namespace, instead the operator looks for the discovery config map in the same namespace as the druid cluster is.

This is the intended behaviour and also necessary for the kuttl tests to work.

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)
  • Cargo.toml only contains references to git tags (not specific commits or branches)
  • Helm chart can be installed and deployed operator works (or not applicable)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

@fhennig fhennig marked this pull request as ready for review February 4, 2022 14:40
@@ -544,7 +536,7 @@ spec:
- middleManagers
- routers
- version
- zookeeperReference
- zookeeperCluster
Copy link
Member

@razvan razvan Feb 4, 2022

Choose a reason for hiding this comment

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

Other operators (kafka, hdfs) seem to have standardized on zookeeperConfigMapName for this because it could refer to either a ZNode or a Zookeeper cluster.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not a very good name I believe but I'll change it for consistency

@fhennig fhennig requested a review from razvan February 7, 2022 12:48
Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

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

Successfully tested locally with integration tests.

@fhennig
Copy link
Contributor Author

fhennig commented Feb 7, 2022

great thank you!

@fhennig
Copy link
Contributor Author

fhennig commented Feb 7, 2022

bors merge

bors bot pushed a commit that referenced this pull request Feb 7, 2022
## Description

This PR removes the `namespace` field for the zookeeper reference; i.e. it is now not required to specify a namespace, instead the operator looks for the discovery config map in the same namespace as the druid cluster is.

This is the intended behaviour and also necessary for the kuttl tests to work.

## Review Checklist
- [x] Code contains useful comments
- [x] (Integration-)Test cases added (or not applicable)
- [x] Documentation added (or not applicable)
- [x] Changelog updated (or not applicable)
- [x] Cargo.toml only contains references to git tags (not specific commits or branches)
- [x] Helm chart can be installed and deployed operator works (or not applicable)

Once the review is done, comment `bors r+` (or `bors merge`) to merge. [Further information](https://bors.tech/documentation/getting-started/#reviewing-pull-requests)


Co-authored-by: Stacky McStackface <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 7, 2022

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Removed namespace for zookeeper cluster [Merged by Bors] - Removed namespace for zookeeper cluster Feb 7, 2022
@bors bors bot closed this Feb 7, 2022
@bors bors bot deleted the zk-ns-fix branch February 7, 2022 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants