forked from crossplane/crossplane
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for AWS RDS and GCP CloudSQL
Signed-off-by: Jared Watts <jbw976@gmail.com>
- Loading branch information
Showing
31 changed files
with
1,429 additions
and
271 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
cluster/charts/conductor/templates/clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: rds-secret | ||
type: Opaque | ||
data: | ||
rdsPassword: cGFzc3dvcmRvcnNvbWV0aGluZw== | ||
--- | ||
apiVersion: database.aws.conductor.io/v1alpha1 | ||
kind: RDSInstance | ||
metadata: | ||
name: rdssample | ||
spec: | ||
class: db.t2.small # type of the db instance | ||
engine: postgres # what engine to use postgres, mysql, aurora-postgresql etc. | ||
masterUsername: postgres # Database username | ||
masterPasswordSecretRef: # reference to secret that contains database master password | ||
name: rds-secret # the name of the secret | ||
key: rdsPassword # the name of the key in the secret data that contains the password | ||
size: 10 # size in GB of underlying storage volume | ||
storagetype: gp2 # type of the underlying storage | ||
backupretentionperiod: 10 # days to keep backup, 0 means diable | ||
encrypted: true # should the database be encrypted | ||
#iops: 1000 # number of iops | ||
multiaz: true # multi AZ support |
11 changes: 11 additions & 0 deletions
11
cluster/examples/gcp/database/v1alpha1/cloudsqlinstance.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: database.gcp.conductor.io/v1alpha1 | ||
kind: CloudsqlInstance | ||
metadata: | ||
labels: | ||
name: cloudsql-sample-01398 | ||
spec: | ||
projectID: long-disk-191221 | ||
tier: db-n1-standard-1 | ||
region: us-west2 | ||
databaseVersion: MYSQL_5_7 | ||
storageType: PD_SSD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# User Guides | ||
|
||
* [Troubleshooting](troubleshooting.md) |
Oops, something went wrong.