Skip to content

Commit 30124d9

Browse files
pnlxjsonnet-libs-bot
authored andcommitted
update: source github.com/jsonnet-libs/k8s@0a40d11b
1 parent 22c0aa7 commit 30124d9

File tree

16 files changed

+1176
-108
lines changed

16 files changed

+1176
-108
lines changed

1.25.3/_gen/postgresql/v1/cluster.libsonnet

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,14 +626,26 @@
626626
withDatabases(databases): { spec+: { bootstrap+: { initdb+: { 'import'+: { databases: if std.isArray(v=databases) then databases else [databases] } } } } },
627627
'#withDatabasesMixin':: d.fn(help='"The databases to import"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='databases', type=d.T.array)]),
628628
withDatabasesMixin(databases): { spec+: { bootstrap+: { initdb+: { 'import'+: { databases+: if std.isArray(v=databases) then databases else [databases] } } } } },
629-
'#withPgDumpExtraOptions':: d.fn(help="\"List of custom options to pass to the `pg_dump` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"", args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]),
629+
'#withPgDumpExtraOptions':: d.fn(help='"List of custom options to pass to the `pg_dump` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]),
630630
withPgDumpExtraOptions(pgDumpExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgDumpExtraOptions: if std.isArray(v=pgDumpExtraOptions) then pgDumpExtraOptions else [pgDumpExtraOptions] } } } } },
631-
'#withPgDumpExtraOptionsMixin':: d.fn(help="\"List of custom options to pass to the `pg_dump` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]),
631+
'#withPgDumpExtraOptionsMixin':: d.fn(help='"List of custom options to pass to the `pg_dump` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgDumpExtraOptions', type=d.T.array)]),
632632
withPgDumpExtraOptionsMixin(pgDumpExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgDumpExtraOptions+: if std.isArray(v=pgDumpExtraOptions) then pgDumpExtraOptions else [pgDumpExtraOptions] } } } } },
633-
'#withPgRestoreExtraOptions':: d.fn(help="\"List of custom options to pass to the `pg_restore` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"", args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]),
633+
'#withPgRestoreDataOptions':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestoreDataOptions', type=d.T.array)]),
634+
withPgRestoreDataOptions(pgRestoreDataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreDataOptions: if std.isArray(v=pgRestoreDataOptions) then pgRestoreDataOptions else [pgRestoreDataOptions] } } } } },
635+
'#withPgRestoreDataOptionsMixin':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestoreDataOptions', type=d.T.array)]),
636+
withPgRestoreDataOptionsMixin(pgRestoreDataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreDataOptions+: if std.isArray(v=pgRestoreDataOptions) then pgRestoreDataOptions else [pgRestoreDataOptions] } } } } },
637+
'#withPgRestoreExtraOptions':: d.fn(help='"List of custom options to pass to the `pg_restore` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]),
634638
withPgRestoreExtraOptions(pgRestoreExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreExtraOptions: if std.isArray(v=pgRestoreExtraOptions) then pgRestoreExtraOptions else [pgRestoreExtraOptions] } } } } },
635-
'#withPgRestoreExtraOptionsMixin':: d.fn(help="\"List of custom options to pass to the `pg_restore` command. IMPORTANT:\\nUse these options with caution and at your own risk, as the operator\\ndoes not validate their content. Be aware that certain options may\\nconflict with the operator's intended functionality or design.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]),
639+
'#withPgRestoreExtraOptionsMixin':: d.fn(help='"List of custom options to pass to the `pg_restore` command.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestoreExtraOptions', type=d.T.array)]),
636640
withPgRestoreExtraOptionsMixin(pgRestoreExtraOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestoreExtraOptions+: if std.isArray(v=pgRestoreExtraOptions) then pgRestoreExtraOptions else [pgRestoreExtraOptions] } } } } },
641+
'#withPgRestorePostdataOptions':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `post-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestorePostdataOptions', type=d.T.array)]),
642+
withPgRestorePostdataOptions(pgRestorePostdataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePostdataOptions: if std.isArray(v=pgRestorePostdataOptions) then pgRestorePostdataOptions else [pgRestorePostdataOptions] } } } } },
643+
'#withPgRestorePostdataOptionsMixin':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `post-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestorePostdataOptions', type=d.T.array)]),
644+
withPgRestorePostdataOptionsMixin(pgRestorePostdataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePostdataOptions+: if std.isArray(v=pgRestorePostdataOptions) then pgRestorePostdataOptions else [pgRestorePostdataOptions] } } } } },
645+
'#withPgRestorePredataOptions':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `pre-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."', args=[d.arg(name='pgRestorePredataOptions', type=d.T.array)]),
646+
withPgRestorePredataOptions(pgRestorePredataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePredataOptions: if std.isArray(v=pgRestorePredataOptions) then pgRestorePredataOptions else [pgRestorePredataOptions] } } } } },
647+
'#withPgRestorePredataOptionsMixin':: d.fn(help='"Custom options to pass to the `pg_restore` command during the `pre-data`\\nsection. This setting overrides the generic `pgRestoreExtraOptions` value.\\n\\nIMPORTANT: Use with caution. The operator does not validate these options,\\nand certain flags may interfere with its intended functionality or design.\\nYou are responsible for ensuring that the provided options are compatible\\nwith your environment and desired behavior."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='pgRestorePredataOptions', type=d.T.array)]),
648+
withPgRestorePredataOptionsMixin(pgRestorePredataOptions): { spec+: { bootstrap+: { initdb+: { 'import'+: { pgRestorePredataOptions+: if std.isArray(v=pgRestorePredataOptions) then pgRestorePredataOptions else [pgRestorePredataOptions] } } } } },
637649
'#withPostImportApplicationSQL':: d.fn(help='"List of SQL queries to be executed as a superuser in the application\\ndatabase right after is imported - to be used with extreme care\\n(by default empty). Only available in microservice type."', args=[d.arg(name='postImportApplicationSQL', type=d.T.array)]),
638650
withPostImportApplicationSQL(postImportApplicationSQL): { spec+: { bootstrap+: { initdb+: { 'import'+: { postImportApplicationSQL: if std.isArray(v=postImportApplicationSQL) then postImportApplicationSQL else [postImportApplicationSQL] } } } } },
639651
'#withPostImportApplicationSQLMixin':: d.fn(help='"List of SQL queries to be executed as a superuser in the application\\ndatabase right after is imported - to be used with extreme care\\n(by default empty). Only available in microservice type."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='postImportApplicationSQL', type=d.T.array)]),
@@ -1578,6 +1590,8 @@
15781590
synchronous: {
15791591
'#withDataDurability':: d.fn(help='"If set to \\"required\\", data durability is strictly enforced. Write operations\\nwith synchronous commit settings (`on`, `remote_write`, or `remote_apply`) will\\nblock if there are insufficient healthy replicas, ensuring data persistence.\\nIf set to \\"preferred\\", data durability is maintained when healthy replicas\\nare available, but the required number of instances will adjust dynamically\\nif replicas become unavailable. This setting relaxes strict durability enforcement\\nto allow for operational continuity. This setting is only applicable if both\\n`standbyNamesPre` and `standbyNamesPost` are unset (empty)."', args=[d.arg(name='dataDurability', type=d.T.string)]),
15801592
withDataDurability(dataDurability): { spec+: { postgresql+: { synchronous+: { dataDurability: dataDurability } } } },
1593+
'#withFailoverQuorum':: d.fn(help='"FailoverQuorum enables a quorum-based check before failover, improving\\ndata durability and safety during failover events in CloudNativePG-managed\\nPostgreSQL clusters."', args=[d.arg(name='failoverQuorum', type=d.T.boolean)]),
1594+
withFailoverQuorum(failoverQuorum): { spec+: { postgresql+: { synchronous+: { failoverQuorum: failoverQuorum } } } },
15811595
'#withMaxStandbyNamesFromCluster':: d.fn(help='"Specifies the maximum number of local cluster pods that can be\\nautomatically included in the `synchronous_standby_names` option in\\nPostgreSQL."', args=[d.arg(name='maxStandbyNamesFromCluster', type=d.T.integer)]),
15821596
withMaxStandbyNamesFromCluster(maxStandbyNamesFromCluster): { spec+: { postgresql+: { synchronous+: { maxStandbyNamesFromCluster: maxStandbyNamesFromCluster } } } },
15831597
'#withMethod':: d.fn(help="\"Method to select synchronous replication standbys from the listed\\nservers, accepting 'any' (quorum-based synchronous replication) or\\n'first' (priority-based synchronous replication) as values.\"", args=[d.arg(name='method', type=d.T.string)]),

0 commit comments

Comments
 (0)