36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# Polaris
|
|
|
|
[Polaris](https://github.com/FairwindsOps/polaris)
|
|
is a tool for auditing and enforcing best practices in Kubernetes.
|
|
|
|
## Installation
|
|
We recommend installing polaris in its own namespace.
|
|
|
|
### Dashboard
|
|
```
|
|
helm repo add fairwinds-stable https://charts.fairwinds.com/stable
|
|
helm install polaris fairwinds-stable/polaris --namespace polaris
|
|
```
|
|
|
|
### Webhook
|
|
|
|
A valid TLS certificate is required for the Polaris Validating Webhook. If you have cert-manager installed in your cluster then the helm install below will work.
|
|
|
|
If you don't use cert-manager, you'll need to:
|
|
* Supply a CA Bundle with the `webhook.caBundle`
|
|
* Create a TLS secret in your cluster with a valid certificate that uses that CA
|
|
* Pass the name of that secret with the `webhook.secretName` parameter.
|
|
|
|
```
|
|
helm repo add fairwinds-stable https://charts.fairwinds.com/stable
|
|
helm install polaris fairwinds-stable/polaris --namespace polaris --set webhook.enable=true --set dashboard.enable=false
|
|
```
|
|
|
|
## A Note on Chart Version 0.10.0+
|
|
|
|
Due to the [deprecation](https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/) of various `extensions/v1beta1` API's,
|
|
the 0.10.0 version of this chart will only work on kubernetes 1.14.0+
|
|
|
|
|
|
{{ template "chart.valuesSection" . }}
|