Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a Helm chart for Kyverno, as a way to install it instead of https://github.com/nirmata/kyverno/blob/master/definitions/install.yaml. Closes #835.
It is written in a manner that allows it to be installed in different namespaces or with a different name, but because of Kyverno's code hard-coding assumptions about names, it MUST be installed in the Kyverno namespace and MUST be installed with the release name "kyverno"; you will not get a working installation if you use different names.
The chart supports providing generatecontroller resources to add to a default list, and supports creating a self signed cert via Helm.
Other things to point out (that can be reversed if so desired):
Note that this PR does not address where a chart would be hosted; in theory the chart should be packaged up and hosted in an actual Helm repo and where you want to host it is outside of my scope as an outside contributor right now. There is the Helm stable charts repo, but they have deprecated taking in new charts, instead moving to a distributed model where each org self hosts their own charts. I wrote the README.md to assume local installation from the charts directory.