argo-cd/resource_customizations/addons.cluster.x-k8s.io/ClusterResourceSet/testdata/degraded_resourceapplied.yaml
1102 fdf539dc6a
feat: add health check for ClusterResourceSet (#20746)
Signed-off-by: nueavv <nuguni@kakao.com>
2024-12-15 15:56:34 -05:00

27 lines
674 B
YAML

apiVersion: addons.cluster.x-k8s.io/v1beta1
kind: ClusterResourceSet
metadata:
finalizers:
- addons.cluster.x-k8s.io
generation: 1
labels:
app.argocd.io/instance: clustername
name: clustername-resource-set
namespace: capi-managed-cluster
spec:
clusterSelector:
matchLabels:
clusterName: clustername
resources:
- kind: ConfigMap
name: clustername-default-rbac
strategy: ApplyOnce
status:
conditions:
- lastTransitionTime: '2024-11-11T03:28:48Z'
message: "Failed to apply resources"
reason: RemoteClusterClientFailed
severity: Error
status: 'False'
type: ResourcesApplied
observedGeneration: 1