Skip to content

Commit

Permalink
chore: Update alt defaults for mysql & postgres blueprint (#646)
Browse files Browse the repository at this point in the history
Co-authored-by: Zheng Qin <[email protected]>
  • Loading branch information
qz267 and Zheng Qin authored Oct 18, 2024
1 parent 600e0a9 commit 72bb2f5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
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
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,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

0 comments on commit 72bb2f5

Please sign in to comment.