kubernetes-sigs / node-feature-discovery-operator

Operator for managing Node Feature Discovery deployment
Apache License 2.0
66 stars 29 forks source link

sync helm chart crds/rbac with the kustomize files #243

Closed chr15p closed 2 months ago

chr15p commented 3 months ago

The helm charts are out of sync with those used by the kustomize installer, this commit copies them over and converts them to use helm variables. This should now mean you get the same set of crds, serviceaccounts, bindings, etc. whichever of the two installation methods you use, and nfd should Just Work (tm) either way.

Hopefully by breaking the objects out into the multi-file layout used by kustomize it will be easier to spot differences and keep the two installation methods in sync in the future.

(note: Most rbac objects should have the chart fullname in their name but the serviceaccount names are hardwired in the operator reconciliation code so they can't be templated and are left as nfd-worker, nfd-master etc)

k8s-ci-robot commented 3 months ago

Hi @chr15p. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
yevgeny-shnaidman commented 3 months ago

/ok-to-test

ArangoGutierrez commented 3 months ago

/assign @yevgeny-shnaidman

yevgeny-shnaidman commented 3 months ago

/approve /lgtm

chr15p commented 2 months ago

@ArangoGutierrez or @marquiz this one also needs an /approve please (again, assuming you do!)

k8s-ci-robot commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ArangoGutierrez, chr15p, yevgeny-shnaidman

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: - ~~[OWNERS](https://github.com/kubernetes-sigs/node-feature-discovery-operator/blob/master/OWNERS)~~ [ArangoGutierrez] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment