From 63c06493ccfd591058ddf5398706e4a4e4049931 Mon Sep 17 00:00:00 2001 From: ekarlso Date: Tue, 24 Sep 2024 17:36:38 +0200 Subject: [PATCH] Add example --- examples/databases/user-with-cluster-ref.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 examples/databases/user-with-cluster-ref.yaml diff --git a/examples/databases/user-with-cluster-ref.yaml b/examples/databases/user-with-cluster-ref.yaml new file mode 100644 index 0000000..613e3fe --- /dev/null +++ b/examples/databases/user-with-cluster-ref.yaml @@ -0,0 +1,35 @@ +apiVersion: databases.ovh.edixos.io/v1alpha1 +kind: ProjectDatabaseRedisUser +metadata: + name: user-1 + labels: + managed-by: crossplane +spec: + forProvider: + serviceName: 21658141411b4c9bb0bf863be8e8c369 + clusterIdRef: + name: demo-0 + channels: + - "*" + commands: + - +get + - -set + keys: + - data + - properties + name: user-1 + publishConnectionDetailsTo: + name: user-1 + metadata: + labels: + managed-by: crossplane + configRef: + name: staging-01 +--- +apiVersion: ovh.edixos.io/v1alpha1 +kind: StoreConfig +metadata: + name: staging-01 +spec: + defaultScope: default + type: Kubernetes