mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 15:37:19 +00:00
fix: do not exclude kube-system service accounts by default (#7225)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
d99c000b17
commit
6cf0f36339
3 changed files with 5 additions and 7 deletions
|
@ -258,8 +258,8 @@ The chart values are organised per component.
|
|||
| config.annotations | object | `{}` | Additional annotations to add to the configmap. |
|
||||
| config.enableDefaultRegistryMutation | bool | `true` | Enable registry mutation for container images. Enabled by default. |
|
||||
| config.defaultRegistry | string | `"docker.io"` | The registry hostname used for the image mutation. |
|
||||
| config.excludeGroups | list | `["system:serviceaccounts:kube-system","system:nodes"]` | Exclude groups |
|
||||
| config.excludeUsernames | list | `["!system:kube-scheduler"]` | Exclude usernames |
|
||||
| config.excludeGroups | list | `["system:nodes"]` | Exclude groups |
|
||||
| config.excludeUsernames | list | `[]` | Exclude usernames |
|
||||
| config.excludeRoles | list | `[]` | Exclude roles |
|
||||
| config.excludeClusterRoles | list | `[]` | Exclude roles |
|
||||
| config.generateSuccessEvents | bool | `false` | Generate success events. |
|
||||
|
|
|
@ -55,12 +55,11 @@ config:
|
|||
|
||||
# -- Exclude groups
|
||||
excludeGroups:
|
||||
- system:serviceaccounts:kube-system
|
||||
- system:nodes
|
||||
|
||||
# -- Exclude usernames
|
||||
excludeUsernames:
|
||||
- '!system:kube-scheduler'
|
||||
excludeUsernames: []
|
||||
# - '!system:kube-scheduler'
|
||||
|
||||
# -- Exclude roles
|
||||
excludeRoles: []
|
||||
|
|
|
@ -76,8 +76,7 @@ data:
|
|||
enableDefaultRegistryMutation: "true"
|
||||
defaultRegistry: "docker.io"
|
||||
generateSuccessEvents: "false"
|
||||
excludeGroups: "system:serviceaccounts:kube-system,system:nodes"
|
||||
excludeUsernames: "!system:kube-scheduler"
|
||||
excludeGroups: "system:nodes"
|
||||
resourceFilters: >-
|
||||
[*/*,kyverno,*]
|
||||
[Event,*,*]
|
||||
|
|
Loading…
Add table
Reference in a new issue