replicaCount: 3
{{ if .Values.kyverno.metrics }}
admissionController:
    serviceMonitor:
    enabled: true
    metricsService:
    create: true
backgroundController:
    serviceMonitor:
    enabled: true
    metricsService:
    create: true
cleanupController:
    serviceMonitor:
    enabled: true
    metricsService:
    create: true
reportsController:
    serviceMonitor:
    enabled: true
    metricsService:
    create: true
{{ end }}
admissionController:
    rbac:
        clusterRole:
            extraResources:
            - apiGroups:
              - ''
              resources:
              - secrets
              verbs:
              - get
              - list
              - watch
cleanupController:
    resources:
    limits:
        memory: {{ .Values.kyverno.resources.cleanupController.memory }}
    requests:
        memory: {{ .Values.kyverno.resources.cleanupController.memory }}
reportsController:
    resources:
    limits:
        memory: {{ .Values.kyverno.resources.reportsController.memory }}
    requests:
        memory: {{ .Values.kyverno.resources.reportsController.memory }}
backgroundController:
    resources:
    limits:
        memory: {{ .Values.kyverno.resources.backgroundController.memory }}
    requests:
        memory: {{ .Values.kyverno.resources.backgroundController.memory }}
