argo-cd/resource_customizations/external-secrets.io/ClusterExternalSecret/testdata/notready.yaml
Samuel Suter 46e6b79899
feat(health): support for external-secrets.io cluster resources (#12957)
Support for external-secrets.io/ClusterExternalSecret and external-secrets.io/ClusterSecretStore

Signed-off-by: Samuel Suter <ssuter@twilio.com>
2023-05-27 21:34:52 -04:00

38 lines
876 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ClusterExternalSecret
metadata:
name: ces
spec:
externalSecretName: hello-world-es
externalSecretSpec:
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /foo
property: key
secretKey: mykey
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: secretmanager
target:
creationPolicy: Owner
deletionPolicy: Retain
name: mysecret
template:
data:
somekey: '{{ .somecreds }}'
engineVersion: v2
type: Opaque
namespaceSelector:
matchLabels:
cool: label
status:
conditions:
- message: one or more namespaces failed
status: "True"
type: NotReady
failedNamespaces:
- namespace: default
reason: external secret already exists in namespace