- 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: 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: serverName label: "serverName" schema: type: string default: "" - variable: revision label: "serverName" schema: type: int - variable: endpointURL label: "endpointURL" schema: type: string show_if: [["enabled", "=", true]] default: "" - variable: destinationPath label: "destinationPath" schema: type: string show_if: [["enabled", "=", true]] default: "" - variable: retentionPolicy label: "retentionPolicy" schema: type: string show_if: [["enabled", "=", true]] default: "30d" - variable: provider label: "provider" schema: type: string show_if: [["enabled", "=", true]] default: "s3" enum: - value: s3 description: S3 - value: azure description: Azure - value: google description: Google - variable: s3 label: "s3" schema: additional_attrs: true type: dict show_if: [["provider", "=", "s3"]] attrs: - variable: region label: "region" schema: type: string default: "" - variable: bucket label: "bucket" schema: type: string default: "" - variable: path label: "path" schema: type: string default: "/" - variable: accessKey label: "accessKey" schema: type: string default: "" - variable: secretKey label: "secretKey" schema: type: string default: "" - variable: azure label: "azure (EXTREMELY EXPERIMENTAL)" schema: additional_attrs: true type: dict show_if: [["provider", "=", "azure"]] attrs: - variable: path label: "path" schema: type: string default: "/" - variable: connectionString label: "connectionString" schema: type: string default: "" - variable: storageAccount label: "storageAccount" schema: type: string default: "" - variable: storageKey label: "storageKey" schema: type: string show_if: [["enabled", "=", true]] default: "" - variable: storageSasToken label: "storageSasToken" schema: type: string default: "" - variable: containerName label: "containerName" schema: type: string default: "" - variable: serviceName label: "serviceName" schema: type: string default: "blob" - variable: inheritFromAzureAD label: "inheritFromAzureAD" schema: type: boolean default: false - variable: google label: "google (EXTREMELY EXPERIMENTAL)" schema: additional_attrs: true type: dict show_if: [["provider", "=", "google"]] attrs: - variable: path label: "path" schema: type: string default: "/" - variable: bucket label: "bucket" schema: type: string default: "" - variable: gkeEnvironment label: "gkeEnvironment" schema: type: string default: "" - variable: applicationCredentials label: "applicationCredentials" schema: type: string default: "" - 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: "serverName" schema: type: int - variable: endpointURL label: "endpointURL" schema: type: string show_if: [["enabled", "=", true]] 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: provider label: "provider" schema: type: string show_if: [["enabled", "=", true]] default: "s3" enum: - value: s3 description: S3 - value: azure description: Azure - value: google description: Google - variable: s3 label: "s3" schema: additional_attrs: true type: dict show_if: [["provider", "=", "s3"]] attrs: - variable: region label: "region" schema: type: string default: "" - variable: bucket label: "bucket" schema: type: string default: "" - variable: path label: "path" schema: type: string default: "/" - variable: accessKey label: "accessKey" schema: type: string default: "" - variable: secretKey label: "secretKey" schema: type: string default: "" - variable: azure label: "azure (EXTREMELY EXPERIMENTAL)" schema: additional_attrs: true type: dict show_if: [["provider", "=", "azure"]] attrs: - variable: path label: "path" schema: type: string default: "/" - variable: connectionString label: "connectionString" schema: type: string default: "" - variable: storageAccount label: "storageAccount" schema: type: string default: "" - variable: storageKey label: "storageKey" schema: type: string default: "" - variable: storageSasToken label: "storageSasToken" schema: type: string default: "" - variable: containerName label: "containerName" schema: type: string default: "" - variable: serviceName label: "serviceName" schema: type: string default: "blob" - variable: inheritFromAzureAD label: "inheritFromAzureAD" schema: type: boolean default: false - variable: google label: "google (EXTREMELY EXPERIMENTAL)" schema: additional_attrs: true type: dict show_if: [["provider", "=", "google"]] attrs: - variable: path label: "path" schema: type: string default: "/" - variable: bucket label: "bucket" schema: type: string default: "" - variable: gkeEnvironment label: "gkeEnvironment" schema: type: string default: "" - variable: applicationCredentials label: "applicationCredentials" schema: type: string default: ""