From b6faacc49e44df360d91022a699f38050bff727f Mon Sep 17 00:00:00 2001 From: Yury Tsarev Date: Sun, 15 May 2022 13:10:55 +0200 Subject: [PATCH] Update rds instance example * Update rds instance example to contain working combination of engine and instance type * Move out the secret to separate file as removing Secret before the Instance was freezing the deletion Signed-off-by: Yury Tsarev --- examples/rds/instance.yaml | 13 ++----------- examples/rds/secret.yaml | 9 +++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 examples/rds/secret.yaml diff --git a/examples/rds/instance.yaml b/examples/rds/instance.yaml index 941852233..78bc5737c 100644 --- a/examples/rds/instance.yaml +++ b/examples/rds/instance.yaml @@ -8,10 +8,10 @@ spec: allocatedStorage: 20 autoMinorVersionUpgrade: true backupRetentionPeriod: 14 - instanceClass: db.t2.micro + instanceClass: db.t3.micro name: example engine: postgres - engineVersion: "12.4" + engineVersion: "13.1" username: adminuser passwordSecretRef: key: password @@ -28,12 +28,3 @@ spec: writeConnectionSecretToRef: name: example-dbinstance-out namespace: default ---- -apiVersion: v1 -kind: Secret -metadata: - name: example-dbinstance - namespace: crossplane-system -type: Opaque -data: - password: dGVzdFBhc3N3b3JkITEyMw== # testPassword!123 \ No newline at end of file diff --git a/examples/rds/secret.yaml b/examples/rds/secret.yaml new file mode 100644 index 000000000..e61332e0e --- /dev/null +++ b/examples/rds/secret.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: v1 +kind: Secret +metadata: + name: example-dbinstance + namespace: crossplane-system +type: Opaque +data: + password: dGVzdFBhc3N3b3JkITEyMw== # testPassword!123