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
25 changes: 25 additions & 0 deletions modules/mysql/metadata.display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@ 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:
enabled: true
point_in_time_recovery_enabled: true
connector_enforcement:
name: connector_enforcement
title: Connector Enforcement
Expand All @@ -52,9 +60,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"
value: "on"
database_integration_roles:
name: database_integration_roles
title: Database Integration Roles
Expand All @@ -79,12 +95,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 +119,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
25 changes: 25 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,17 @@ 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:
qz267 marked this conversation as resolved.
Show resolved Hide resolved
enabled: true
point_in_time_recovery_enabled: true
connector_enforcement:
name: connector_enforcement
title: Connector Enforcement
Expand All @@ -52,12 +60,20 @@ spec:
data_cache_enabled:
name: data_cache_enabled
title: Data Cache Enabled
alt_defaults:
- type: ALTERNATE_TYPE_DC
value: true
database_deletion_policy:
name: database_deletion_policy
title: Database Deletion Policy
database_flags:
name: database_flags
title: Database Flags
alt_defaults:
- type: ALTERNATE_TYPE_DC
value:
- name: "cloudsql.iam_authentication"
value: "on"
database_integration_roles:
name: database_integration_roles
title: Database Integration Roles
Expand All @@ -82,12 +98,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 +122,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