Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Update rds instance example
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ytsarev committed May 16, 2022
1 parent 211912f commit b6faacc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
13 changes: 2 additions & 11 deletions examples/rds/instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
9 changes: 9 additions & 0 deletions examples/rds/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: v1
kind: Secret
metadata:
name: example-dbinstance
namespace: crossplane-system
type: Opaque
data:
password: dGVzdFBhc3N3b3JkITEyMw== # testPassword!123

0 comments on commit b6faacc

Please sign in to comment.