kyverno: [BUG] Kyverno ConfigMap name not consistent in Helm/Docs and install.yaml

Kyverno: 1.4.2

In Helm/Docs the Kyverno ConfiMap is named kyverno. In install.yaml the same ConfigMap is named init-config.

ConfigMap:

apiVersion: v1
kind: ConfigMap
metadata:
  name: init-config
data: ....

Deployment:

apiVersion: apps/v1
kind: Deployment
  name: kyverno
spec:
  template:
    spec:
      containers:
      - args:
        - --filterK8sResources=[Event,*,*]........
        ........
        env:
        - name: INIT_CONFIG
          value: init-config

One more thing: The --filterK8sResources= in args are deprectaed. Intentionally in install.yaml left over?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

@slayer321 - please work on the changes and test if it works.

@slayer321 - the default log level is 2, it does not change anything if you remove that flag.

Hey @realshuting, I did like to work on this issue . where can I find install.yaml file?

https://github.com/kyverno/kyverno/blob/main/definitions/install.yaml