2023-02-28 17:38:55 +00:00
- variable : cnpg
group : Postgresql
2023-12-20 19:38:11 +00:00
label : "CloudNative-PG (CNPG)"
2023-02-28 17:38:55 +00:00
schema :
additional_attrs : true
type : dict
attrs :
- variable : main
label : "Main Postgresql Database"
schema :
additional_attrs : true
type : dict
attrs :
2023-12-20 19:38:11 +00:00
- variable : hibernate
label : Hibernate
description : "enable to safely hibernate and shutdown the postgresql cluster"
schema :
type : boolean
default : false
2023-12-22 09:57:43 +00:00
- variable : mode
label : Mode
description: 'Cluster mode of operation. Available modes : standalone - default mode. Creates new or updates an existing CNPG cluster. recovery - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup replica - Creates a replica cluster from an existing CNPG cluster. # TODO.'
schema :
type : string
default : "standalone"
enum :
- value : standalone
description : standalone
- value : replica
description : replica
- value : recovery
description : recovery
2024-04-06 14:14:46 +00:00
- variable : pgVersion
label : Postgres Version
description : "Set the Postgresql version used"
schema :
type : int
default : 16
required : true
- variable : password
label : Password
description : "Set the password for the database-user"
schema :
type : string
default : "PLACEHOLDERPASSWORD"
required : true
2023-12-20 19:38:11 +00:00
- variable : cluster
label : "Cluster Settings"
schema :
additional_attrs : true
type : dict
attrs :
- variable : instances
label : Instances
schema :
type : int
2024-01-07 11:28:38 +00:00
default : 1
2023-12-20 19:38:11 +00:00
- variable : singleNode
label : singleNode
schema :
type : boolean
default : true
hidden : true
- variable : storage
label : "Storage"
schema :
additional_attrs : true
type : dict
attrs :
- variable : size
label : Size
schema :
type : string
2023-12-21 13:07:53 +00:00
default : "256Gi"
2023-12-20 19:38:11 +00:00
- variable : walStorage
label : "WAL Storage"
schema :
additional_attrs : true
type : dict
attrs :
- variable : size
label : Size
schema :
type : string
2023-12-21 13:07:53 +00:00
default : "256Gi"
2023-12-20 19:38:11 +00:00
- variable : monitoring
label : "Monitoring Settings"
schema :
additional_attrs : true
type : dict
attrs :
- variable : enablePodMonitor
label : "enablePodMonitor"
schema :
type : boolean
default : true
- variable : disableDefaultQueries
label : "disableDefaultQueries"
schema :
type : boolean
default : false
- variable : pooler
label : "Pooler Settings"
schema :
additional_attrs : true
type : dict
attrs :
2024-03-10 15:10:05 +00:00
- variable : enabled
label : Enabled
schema :
type : boolean
default : false
2023-12-20 19:38:11 +00:00
- variable : instances
label : Instances
schema :
type : int
2024-03-10 15:10:05 +00:00
show_if : [ [ "enabled" , "=" , true ] ]
2024-01-07 11:28:38 +00:00
default : 1
2023-12-20 19:38:11 +00:00
- variable : createRO
label : "Create ReadOnly Instance"
schema :
type : boolean
2024-03-10 15:10:05 +00:00
show_if : [ [ "enabled" , "=" , true ] ]
2023-12-20 19:38:11 +00:00
default : false
2024-03-05 20:57:25 +00:00
- variable : backups
label : "Backup Settings (Experimental)"
2023-12-20 19:38:11 +00:00
schema :
additional_attrs : true
type : dict
attrs :
- variable : enabled
label : "enabled"
schema :
type : boolean
default : false
2024-03-05 20:57:25 +00:00
- variable : revision
2024-03-22 10:06:43 +00:00
label : "revision"
2024-03-05 20:57:25 +00:00
schema :
2024-03-22 10:06:43 +00:00
type : string
default : ""
2024-03-05 20:57:25 +00:00
- variable : retentionPolicy
label : "retentionPolicy"
2023-12-20 19:38:11 +00:00
schema :
type : string
show_if : [ [ "enabled" , "=" , true ] ]
2024-03-05 20:57:25 +00:00
default : "30d"
2024-04-29 10:28:39 +00:00
- variable : credentials
label : "Credentials"
description : "Name of the credentials in the credentials section"
2023-12-20 19:38:11 +00:00
schema :
2024-04-29 10:28:39 +00:00
type : string
show_if : [ [ "enabled" , "=" , true ] ]
default : ""
required : true
2024-03-05 20:57:25 +00:00
- variable : recovery
label : "Recovery Settings (Experimental)"
2023-12-20 19:38:11 +00:00
schema :
additional_attrs : true
type : dict
attrs :
- variable : enabled
label : "enabled"
schema :
type : boolean
default : false
2024-03-05 20:57:25 +00:00
- variable : serverName
label : "serverName"
schema :
type : string
default : ""
- variable : revision
2024-03-23 16:29:43 +00:00
label : "revision"
2024-03-05 20:57:25 +00:00
schema :
2024-03-23 16:29:43 +00:00
type : string
default : ""
2024-03-05 20:57:25 +00:00
- variable : method
label : "method"
2023-12-20 19:38:11 +00:00
schema :
type : string
show_if : [ [ "enabled" , "=" , true ] ]
2024-03-05 20:57:25 +00:00
default : "object_store"
- variable : backupName
label : "backupName"
2023-12-20 19:38:11 +00:00
schema :
type : string
show_if : [ [ "enabled" , "=" , true ] ]
2024-03-05 20:57:25 +00:00
default : ""
2024-04-29 10:28:39 +00:00
- variable : credentials
label : "Credentials"
description : "Name of the credentials in the credentials section"
2023-12-20 19:38:11 +00:00
schema :
2024-04-29 10:28:39 +00:00
type : string
show_if : [ [ "enabled" , "=" , true ] ]
default : ""
required : true