apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: add-maintainer
spec:
  rules:
    - match:
        any:
          - resources:
              kinds:
                - Secret
      mutate:
        patchStrategicMerge:
          metadata:
            labels:
              kyverno.com/maintainer: 'test'
      name: add-maintainer
  validationFailureAction: audit