Skip to content

Commit

Permalink
Bumping version and adding documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bader Boland committed Jan 28, 2020
1 parent 56bba70 commit 3687607
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# x.x.x (next release)

# 0.6.1
* Added the ability to exempt a particular controller from a particular check.

# 0.6.0
* Fixed webhook support in Kubernetes 1.16
* this also removes support for 1.8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Version][version-image]][version-link] [![CircleCI][circleci-image]][circleci-link] [![Go Report Card][goreport-image]][goreport-link]
</div>

[version-image]: https://img.shields.io/static/v1.svg?label=Version&message=0.6.0&color=239922
[version-image]: https://img.shields.io/static/v1.svg?label=Version&message=0.6.1&color=239922
[version-link]: https://github.com/FairwindsOps/polaris

[goreport-image]: https://goreportcard.com/badge/github.com/FairwindsOps/polaris
Expand Down
7 changes: 6 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ There are additional examples in the [checks folder](/checks).
### Exemptions
Exemptions can be added two ways: by annotating a controller, or editing the Polaris config.

To exempt a controller via annotations, use the annotation `polaris.fairwinds.com/exempt=true`, e.g.
To exempt a controller from all checks via annotations, use the annotation `polaris.fairwinds.com/exempt=true`, e.g.
```
kubectl annotate deployment my-deployment polaris.fairwinds.com/exempt=true
```
Expand All @@ -76,6 +76,11 @@ exemptions:
- hostNetworkSet
```

To exempt a controller from a particular check via annotations, use an annotation in the form of `polaris.fairwinds.com/<check>-exempt=true`, e.g.
```
kubectl annotate deployment my-deployment polaris.fairwinds.com/cpu-requests-missing-exempt=true
```

# Installing
There are several ways to install and use Polaris. Below outline ways to install using `kubectl`, `helm` and `local binary`.

Expand Down

0 comments on commit 3687607

Please sign in to comment.