diff --git a/README.md b/README.md index b06813034..8490d8eb8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@
+Our default standards in Polaris are rather high, so don’t be surprised if your score is lower than you might expect. A key goal for Polaris was to set a high standard and aim for great configuration by default. If the defaults we’ve included are too strict, it’s easy to adjust the configuration as part of the deployment configuration to better suit your workloads. + ### Deploying To deploy Polaris with kubectl: @@ -53,7 +55,14 @@ With the port forwarding in place, you can open http://localhost:8080 in your br ### Using a Binary Release -If you'd prefer to run Polaris locally, binary releases are available on the [releases page](https://github.com/reactiveops/polaris/releases). When running as a binary, Polaris will use your local kubeconfig to connect to a cluster. There are a variety of options available, but the most common usage may be to view the dashboard: +If you'd prefer to run Polaris locally, binary releases are available on the [releases page](https://github.com/reactiveops/polaris/releases) or can be installed with [Homebrew](https://brew.sh/): + +``` +brew tap reactiveops/tap +brew install reactiveops/tap/polaris +``` + +When running as a binary, Polaris will use your local kubeconfig to connect to a cluster. There are a variety of options available, but the most common usage will likely be to view the dashboard: ``` polaris --dashboard @@ -63,7 +72,7 @@ polaris --dashboard Polaris includes experimental support for an optional validating webhook. This accepts the same configuration as the dashboard, and can run the same validations. This webhook will reject any deployments that trigger a validation error. This is indicative of the greater goal of Polaris, not just to encourage better configuration through dashboard visibility, but to actually enforce it with this webhook. *Although we are working towards greater stability and better test coverage, we do not currently consider this webhook component production ready.* -Unfortunately we have not found a way to disply warnings as part of `kubectl` output unless we are rejecting a deployment altogether. That means that any checks with a severity of `warning` will still pass webhook validation, and the only evidence of that warning will either be in the Polaris dashboard or the Polaris webhook logs. +Unfortunately we have not found a way to display warnings as part of `kubectl` output unless we are rejecting a deployment altogether. That means that any checks with a severity of `warning` will still pass webhook validation, and the only evidence of that warning will either be in the Polaris dashboard or the Polaris webhook logs. ### Deploying @@ -79,7 +88,6 @@ Alternatively, the webhook can be enabled with Helm by setting `webhook.enable` helm upgrade --install polaris deploy/helm/polaris/ --namespace polaris --set webhook.enable=true ``` - ## Configuration Polaris supports a wide range of validations covering a number of Kubernetes best practices. Here's a sample configuration file that includes all currently supported checks. The [default configuration](https://github.com/reactiveops/polaris/blob/master/config.yaml) contains a number of those checks. This repository also includes a sample [full configuration file](https://github.com/reactiveops/polaris/blob/master/config-full.yaml) that enables all available checks. @@ -104,9 +112,6 @@ Polaris validation checks fall into several different categories: * `disable-webhook-config-installer`: disable the installer in the webhook server, so it won't install webhook configuration resources during bootstrapping * `kubeconfig`: Paths to a kubeconfig. Only required if out-of-cluster. -## License -Apache License 2.0 - ## Contributing PRs welcome! Check out the [Contributing Guidlines](CONTRIBUTING.md), [Code of Conduct](CODE_OF_CONDUCT.md), and [Roadmap](ROADMAP.md) for more information. @@ -116,3 +121,6 @@ A history of changes to this project can be viewed in the [Changelog](CHANGELOG. If you'd like to learn more about Polaris, or if you'd like to speak with a Kubernetes expert, you can contact `info@reactiveops.com` or [visit our website](https://reactiveops.com) + +## License +Apache License 2.0 diff --git a/dashboard-screenshot.png b/dashboard-screenshot.png index 01dd68f76..f4da05689 100644 Binary files a/dashboard-screenshot.png and b/dashboard-screenshot.png differ diff --git a/deploy/helm/polaris/Chart.yaml b/deploy/helm/polaris/Chart.yaml index 5cbf7f209..fc16e090e 100755 --- a/deploy/helm/polaris/Chart.yaml +++ b/deploy/helm/polaris/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 description: Validation of best practices in your Kubernetes clusters name: polaris -version: 1.0.0 +version: 0.1.0