mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Healthchecks for several Policy types. Signed-off-by: Justin Kulikauskas <[email protected]>
25 lines
597 B
YAML
25 lines
597 B
YAML
apiVersion: policy.open-cluster-management.io/v1
|
|
kind: CertificatePolicy
|
|
metadata:
|
|
name: policy-certificate
|
|
namespace: local-cluster
|
|
spec:
|
|
minimumDuration: 300h
|
|
namespaceSelector:
|
|
exclude:
|
|
- kube-*
|
|
include:
|
|
- default
|
|
- cert-manager-operator
|
|
remediationAction: inform
|
|
severity: low
|
|
status:
|
|
compliancyDetails:
|
|
cert-manager-operator:
|
|
message: |
|
|
Found 0 non compliant certificates in the namespace cert-manager-operator.
|
|
default:
|
|
message: |
|
|
Found 0 non compliant certificates in the namespace default.
|
|
compliant: Compliant
|