- variable: cnpg group: Postgresql label: "CloudNative-PG (CNPG)" schema: additional_attrs: true type: dict attrs: - variable: main label: "Main Postgresql Database" schema: additional_attrs: true type: dict attrs: - variable: hibernate label: Hibernate description: "enable to safely hibernate and shutdown the postgresql cluster" schema: type: boolean default: false - 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 - 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 - variable: cluster label: "Cluster Settings" schema: additional_attrs: true type: dict attrs: - variable: instances label: Instances schema: type: int default: 1 - 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 default: "256Gi" - variable: walStorage label: "WAL Storage" schema: additional_attrs: true type: dict attrs: - variable: size label: Size schema: type: string default: "256Gi" - 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: - variable: enabled label: Enabled schema: type: boolean default: false - variable: instances label: Instances schema: type: int show_if: [["enabled", "=", true]] default: 1 - variable: createRO label: "Create ReadOnly Instance" schema: type: boolean show_if: [["enabled", "=", true]] default: false - variable: backups label: "Backup Settings (Experimental)" schema: additional_attrs: true type: dict attrs: - variable: enabled label: "enabled" schema: type: boolean default: false - variable: revision label: "revision" schema: type: string default: "" - variable: retentionPolicy label: "retentionPolicy" schema: type: string show_if: [["enabled", "=", true]] default: "30d" - variable: credentials label: "Credentials" description: "Name of the credentials in the credentials section" schema: type: string show_if: [["enabled", "=", true]] default: "" required: true - variable: recovery label: "Recovery Settings (Experimental)" schema: additional_attrs: true type: dict attrs: - variable: enabled label: "enabled" schema: type: boolean default: false - variable: serverName label: "serverName" schema: type: string default: "" - variable: revision label: "revision" schema: type: string default: "" - variable: method label: "method" schema: type: string show_if: [["enabled", "=", true]] default: "object_store" - variable: backupName label: "backupName" schema: type: string show_if: [["enabled", "=", true]] default: "" - variable: credentials label: "Credentials" description: "Name of the credentials in the credentials section" schema: type: string show_if: [["enabled", "=", true]] default: "" required: true