Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add alternate defaults for mysql & postgresql blueprint #646

Merged
merged 15 commits into from
Oct 18, 2024
Merged
23 changes: 23 additions & 0 deletions modules/mysql/metadata.display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ spec:
availability_type:
name: availability_type
title: Availability Type
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: REGIONAL
backup_configuration:
name: backup_configuration
title: Backup Configuration
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
connector_enforcement:
name: connector_enforcement
title: Connector Enforcement
Expand All @@ -52,9 +58,17 @@ spec:
data_cache_enabled:
name: data_cache_enabled
title: Data Cache Enabled
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
database_flags:
name: database_flags
title: Database Flags
alt_defaults:
- type: ALTERNATE_TYPE_DC
value:
- name: "cloudsql_iam_authentication",
qz267 marked this conversation as resolved.
Show resolved Hide resolved
value: "on"
database_integration_roles:
name: database_integration_roles
title: Database Integration Roles
Expand All @@ -79,12 +93,18 @@ spec:
deletion_protection_enabled:
name: deletion_protection_enabled
title: Deletion Protection Enabled
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
deny_maintenance_period:
name: deny_maintenance_period
title: Deny Maintenance Period
disk_autoresize:
name: disk_autoresize
title: Disk Autoresize
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
disk_autoresize_limit:
name: disk_autoresize_limit
title: Disk Autoresize Limit
Expand All @@ -97,6 +117,9 @@ spec:
edition:
name: edition
title: Edition
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: ENTERPRISE_PLUS
enable_default_db:
name: enable_default_db
title: Enable Default Db
Expand Down
20 changes: 20 additions & 0 deletions modules/postgresql/metadata.display.yaml
qz267 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,15 @@ spec:
availability_type:
name: availability_type
title: Availability Type
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: REGIONAL
backup_configuration:
name: backup_configuration
title: Backup Configuration
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
qz267 marked this conversation as resolved.
Show resolved Hide resolved
connector_enforcement:
name: connector_enforcement
title: Connector Enforcement
Expand All @@ -58,6 +64,11 @@ spec:
database_flags:
name: database_flags
title: Database Flags
alt_defaults:
- type: ALTERNATE_TYPE_DC
value:
- name: "cloudsql.iam_authentication",
qz267 marked this conversation as resolved.
Show resolved Hide resolved
value: "on"
database_integration_roles:
name: database_integration_roles
title: Database Integration Roles
Expand All @@ -82,12 +93,18 @@ spec:
deletion_protection_enabled:
name: deletion_protection_enabled
title: Deletion Protection Enabled
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
deny_maintenance_period:
name: deny_maintenance_period
title: Deny Maintenance Period
disk_autoresize:
name: disk_autoresize
title: Disk Autoresize
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
disk_autoresize_limit:
name: disk_autoresize_limit
title: Disk Autoresize Limit
Expand All @@ -100,6 +117,9 @@ spec:
edition:
name: edition
title: Edition
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: ENTERPRISE_PLUS
enable_default_db:
name: enable_default_db
title: Enable Default Db
Expand Down