github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/policy.open-cluster-management.io/CertificatePolicy/testdata/degraded.yaml (about)

     1  apiVersion: policy.open-cluster-management.io/v1
     2  kind: CertificatePolicy
     3  metadata:
     4    name: policy-certificate
     5    namespace: local-cluster
     6  spec:
     7    minimumDuration: 3000h
     8    namespaceSelector:
     9      exclude:
    10        - kube-*
    11      include:
    12        - default
    13        - cert-manager-operator
    14    remediationAction: inform
    15    severity: low
    16  status:
    17    compliancyDetails:
    18      cert-manager-operator:
    19        message: |
    20          Found 1 non compliant certificates in the namespace cert-manager-operator.
    21          List of non compliant certificates:
    22          ca-root-secret expires in 2159h53m40.509362797s
    23        nonCompliantCertificates: 1
    24        nonCompliantCertificatesList:
    25          ca-root-secret:
    26            ca: true
    27            duration: 7776000000000000
    28            expiration: 2159h53m40.509362797s
    29            expiry: 7775620509362797
    30            secretName: ca-root-secret
    31      default:
    32        message: |
    33          Found 0 non compliant certificates in the namespace default.
    34    compliant: NonCompliant