Skip to content

Commit

Permalink
add some exemptions for kube-system (FairwindsOps#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed May 18, 2020
1 parent c571b97 commit cf10a96
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions examples/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,48 @@ checks:
runAsPrivileged: error
dangerousCapabilities: error
insecureCapabilities: warning

exemptions:
- controllerNames:
- kube-apiserver
- kube-proxy
- kube-scheduler
- etcd-manager-events
- kube-controller-manager
- kube-dns
- etcd-manager-main
rules:
- hostPortSet
- hostNetworkSet
- readinessProbeMissing
- livenessProbeMissing
- cpuRequestsMissing
- cpuLimitsMissing
- memoryRequestsMissing
- memoryLimitsMissing
- runAsRootAllowed
- runAsPrivileged
- notReadOnlyRootFilesystem
- hostPIDSet

- controllerNames:
- kube-flannel-ds
rules:
- notReadOnlyRootFilesystem
- runAsRootAllowed
- notReadOnlyRootFilesystem
- readinessProbeMissing
- livenessProbeMissing
- cpuLimitsMissing

- controllerNames:
- vpa
rules:
- runAsRootAllowed
- readinessProbeMissing
- livenessProbeMissing
- notReadOnlyRootFilesystem

- controllerNames:
- dns-controller
- datadog-datadog
Expand Down

0 comments on commit cf10a96

Please sign in to comment.