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

helm release fixes #249

Merged

Conversation

krnowak
Copy link
Contributor

@krnowak krnowak commented Apr 23, 2018

Fix the RBAC rules. Update the helm package maintainers list.

The example RBAC file wasn't updated after adding a custom CRD
versions support - it allowed the operator to manage only statefulsets
as at the point of the change the operator handled only them;
deployments were dropped. Right now the operator can manage both
deployments and statefulsets depending on the custom version specified
in the Habitat resource manifest.

The manifest file for the helm chart was also out-of-sync with the
changes in the operator - the rules allowed operator only to manage
deployments.

Signed-off-by: Krzesimir Nowak <krzesimir@kinvolk.io>
Copy link
Contributor

@asymmetric asymmetric left a comment

Choose a reason for hiding this comment

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

A typo, otherwise LGTM

- name: Krzesimir Nowak
email: krzesimir@kinvolk.io
- name: Iago López Galeiras
email: iago@okinvolk.io
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, so that's where this o went. ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Or should that be iago@ocisly.io?

@asymmetric
Copy link
Contributor

One more case in which the manifests under examples/ and the ones under test/e2e/ are out of sync :(

I really think we should find a better way here.

@krnowak
Copy link
Contributor Author

krnowak commented Apr 23, 2018

One more case in which the manifests under examples/ and the ones under test/e2e/ are out of sync :(

I really think we should find a better way here.

True. Not to mention that we also have RBAC rules in the test/e2e/v1beta1/resources/operator.

Edit: Errr, I meant in helm/habitat-operator/templates

@krnowak
Copy link
Contributor Author

krnowak commented Apr 23, 2018

Filed #250 for keeping RBAC rules in sync.

Signed-off-by: Krzesimir Nowak <krzesimir@kinvolk.io>
@krnowak
Copy link
Contributor Author

krnowak commented Apr 23, 2018

Updated.

@krnowak krnowak merged commit 369a6ae into habitat-sh:master Apr 23, 2018
@krnowak krnowak deleted the krnowak/helm-release-fixes branch August 27, 2018 12:50
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.

2 participants