Skip to content

Commit 64d6b0b

Browse files
adinhodovicjsonnet-libs-bot
authored andcommitted
update: source github.com/jsonnet-libs/k8s@1b88f720
1 parent 6e16aae commit 64d6b0b

File tree

12 files changed

+204
-6
lines changed

12 files changed

+204
-6
lines changed

1.23.6/_gen/postgresql/v1/backup.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
local d = (import 'doc-util/main.libsonnet'),
3-
'#':: d.pkg(name='backup', url='', help='"Backup is the Schema for the backups API"'),
3+
'#':: d.pkg(name='backup', url='', help='"A Backup resource is a request for a PostgreSQL backup by the user."'),
44
'#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'),
55
metadata: {
66
'#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]),

1.23.6/_gen/postgresql/v1/cluster.libsonnet

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,8 @@
11651165
plugin: {
11661166
'#withEnabled':: d.fn(help='"Enabled is true if this plugin will be used"', args=[d.arg(name='enabled', type=d.T.boolean)]),
11671167
withEnabled(enabled): { plugin+: { enabled: enabled } },
1168+
'#withIsWALArchiver':: d.fn(help='"Only one plugin can be declared as WALArchiver.\\nCannot be active if \\".spec.backup.barmanObjectStore\\" configuration is present."', args=[d.arg(name='isWALArchiver', type=d.T.boolean)]),
1169+
withIsWALArchiver(isWALArchiver): { plugin+: { isWALArchiver: isWALArchiver } },
11681170
'#withName':: d.fn(help='"Name is the plugin name"', args=[d.arg(name='name', type=d.T.string)]),
11691171
withName(name): { plugin+: { name: name } },
11701172
'#withParameters':: d.fn(help='"Parameters is the configuration of the plugin"', args=[d.arg(name='parameters', type=d.T.object)]),
@@ -1479,6 +1481,8 @@
14791481
plugins: {
14801482
'#withEnabled':: d.fn(help='"Enabled is true if this plugin will be used"', args=[d.arg(name='enabled', type=d.T.boolean)]),
14811483
withEnabled(enabled): { enabled: enabled },
1484+
'#withIsWALArchiver':: d.fn(help='"Only one plugin can be declared as WALArchiver.\\nCannot be active if \\".spec.backup.barmanObjectStore\\" configuration is present."', args=[d.arg(name='isWALArchiver', type=d.T.boolean)]),
1485+
withIsWALArchiver(isWALArchiver): { isWALArchiver: isWALArchiver },
14821486
'#withName':: d.fn(help='"Name is the plugin name"', args=[d.arg(name='name', type=d.T.string)]),
14831487
withName(name): { name: name },
14841488
'#withParameters':: d.fn(help='"Parameters is the configuration of the plugin"', args=[d.arg(name='parameters', type=d.T.object)]),
@@ -1598,6 +1602,8 @@
15981602
withFailureThreshold(failureThreshold): { spec+: { probes+: { readiness+: { failureThreshold: failureThreshold } } } },
15991603
'#withInitialDelaySeconds':: d.fn(help='"Number of seconds after the container has started before liveness probes are initiated.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='initialDelaySeconds', type=d.T.integer)]),
16001604
withInitialDelaySeconds(initialDelaySeconds): { spec+: { probes+: { readiness+: { initialDelaySeconds: initialDelaySeconds } } } },
1605+
'#withMaximumLag':: d.fn(help='"Lag limit. Used only for `streaming` strategy"', args=[d.arg(name='maximumLag', type=d.T.any)]),
1606+
withMaximumLag(maximumLag): { spec+: { probes+: { readiness+: { maximumLag: maximumLag } } } },
16011607
'#withPeriodSeconds':: d.fn(help='"How often (in seconds) to perform the probe.\\nDefault to 10 seconds. Minimum value is 1."', args=[d.arg(name='periodSeconds', type=d.T.integer)]),
16021608
withPeriodSeconds(periodSeconds): { spec+: { probes+: { readiness+: { periodSeconds: periodSeconds } } } },
16031609
'#withSuccessThreshold':: d.fn(help='"Minimum consecutive successes for the probe to be considered successful after having failed.\\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."', args=[d.arg(name='successThreshold', type=d.T.integer)]),
@@ -1606,13 +1612,17 @@
16061612
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds): { spec+: { probes+: { readiness+: { terminationGracePeriodSeconds: terminationGracePeriodSeconds } } } },
16071613
'#withTimeoutSeconds':: d.fn(help='"Number of seconds after which the probe times out.\\nDefaults to 1 second. Minimum value is 1.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]),
16081614
withTimeoutSeconds(timeoutSeconds): { spec+: { probes+: { readiness+: { timeoutSeconds: timeoutSeconds } } } },
1615+
'#withType':: d.fn(help='"The probe strategy"', args=[d.arg(name='type', type=d.T.string)]),
1616+
withType(type): { spec+: { probes+: { readiness+: { type: type } } } },
16091617
},
16101618
'#startup':: d.obj(help='"The startup probe configuration"'),
16111619
startup: {
16121620
'#withFailureThreshold':: d.fn(help='"Minimum consecutive failures for the probe to be considered failed after having succeeded.\\nDefaults to 3. Minimum value is 1."', args=[d.arg(name='failureThreshold', type=d.T.integer)]),
16131621
withFailureThreshold(failureThreshold): { spec+: { probes+: { startup+: { failureThreshold: failureThreshold } } } },
16141622
'#withInitialDelaySeconds':: d.fn(help='"Number of seconds after the container has started before liveness probes are initiated.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='initialDelaySeconds', type=d.T.integer)]),
16151623
withInitialDelaySeconds(initialDelaySeconds): { spec+: { probes+: { startup+: { initialDelaySeconds: initialDelaySeconds } } } },
1624+
'#withMaximumLag':: d.fn(help='"Lag limit. Used only for `streaming` strategy"', args=[d.arg(name='maximumLag', type=d.T.any)]),
1625+
withMaximumLag(maximumLag): { spec+: { probes+: { startup+: { maximumLag: maximumLag } } } },
16161626
'#withPeriodSeconds':: d.fn(help='"How often (in seconds) to perform the probe.\\nDefault to 10 seconds. Minimum value is 1."', args=[d.arg(name='periodSeconds', type=d.T.integer)]),
16171627
withPeriodSeconds(periodSeconds): { spec+: { probes+: { startup+: { periodSeconds: periodSeconds } } } },
16181628
'#withSuccessThreshold':: d.fn(help='"Minimum consecutive successes for the probe to be considered successful after having failed.\\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."', args=[d.arg(name='successThreshold', type=d.T.integer)]),
@@ -1621,6 +1631,8 @@
16211631
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds): { spec+: { probes+: { startup+: { terminationGracePeriodSeconds: terminationGracePeriodSeconds } } } },
16221632
'#withTimeoutSeconds':: d.fn(help='"Number of seconds after which the probe times out.\\nDefaults to 1 second. Minimum value is 1.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]),
16231633
withTimeoutSeconds(timeoutSeconds): { spec+: { probes+: { startup+: { timeoutSeconds: timeoutSeconds } } } },
1634+
'#withType':: d.fn(help='"The probe strategy"', args=[d.arg(name='type', type=d.T.string)]),
1635+
withType(type): { spec+: { probes+: { startup+: { type: type } } } },
16241636
},
16251637
},
16261638
'#projectedVolumeTemplate':: d.obj(help='"Template to be used to define projected volumes, projected volumes will be mounted\\nunder `/projected` base folder"'),

1.24.2/_gen/postgresql/v1/backup.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
local d = (import 'doc-util/main.libsonnet'),
3-
'#':: d.pkg(name='backup', url='', help='"Backup is the Schema for the backups API"'),
3+
'#':: d.pkg(name='backup', url='', help='"A Backup resource is a request for a PostgreSQL backup by the user."'),
44
'#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'),
55
metadata: {
66
'#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]),

1.24.2/_gen/postgresql/v1/cluster.libsonnet

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,8 @@
11651165
plugin: {
11661166
'#withEnabled':: d.fn(help='"Enabled is true if this plugin will be used"', args=[d.arg(name='enabled', type=d.T.boolean)]),
11671167
withEnabled(enabled): { plugin+: { enabled: enabled } },
1168+
'#withIsWALArchiver':: d.fn(help='"Only one plugin can be declared as WALArchiver.\\nCannot be active if \\".spec.backup.barmanObjectStore\\" configuration is present."', args=[d.arg(name='isWALArchiver', type=d.T.boolean)]),
1169+
withIsWALArchiver(isWALArchiver): { plugin+: { isWALArchiver: isWALArchiver } },
11681170
'#withName':: d.fn(help='"Name is the plugin name"', args=[d.arg(name='name', type=d.T.string)]),
11691171
withName(name): { plugin+: { name: name } },
11701172
'#withParameters':: d.fn(help='"Parameters is the configuration of the plugin"', args=[d.arg(name='parameters', type=d.T.object)]),
@@ -1479,6 +1481,8 @@
14791481
plugins: {
14801482
'#withEnabled':: d.fn(help='"Enabled is true if this plugin will be used"', args=[d.arg(name='enabled', type=d.T.boolean)]),
14811483
withEnabled(enabled): { enabled: enabled },
1484+
'#withIsWALArchiver':: d.fn(help='"Only one plugin can be declared as WALArchiver.\\nCannot be active if \\".spec.backup.barmanObjectStore\\" configuration is present."', args=[d.arg(name='isWALArchiver', type=d.T.boolean)]),
1485+
withIsWALArchiver(isWALArchiver): { isWALArchiver: isWALArchiver },
14821486
'#withName':: d.fn(help='"Name is the plugin name"', args=[d.arg(name='name', type=d.T.string)]),
14831487
withName(name): { name: name },
14841488
'#withParameters':: d.fn(help='"Parameters is the configuration of the plugin"', args=[d.arg(name='parameters', type=d.T.object)]),
@@ -1598,6 +1602,8 @@
15981602
withFailureThreshold(failureThreshold): { spec+: { probes+: { readiness+: { failureThreshold: failureThreshold } } } },
15991603
'#withInitialDelaySeconds':: d.fn(help='"Number of seconds after the container has started before liveness probes are initiated.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='initialDelaySeconds', type=d.T.integer)]),
16001604
withInitialDelaySeconds(initialDelaySeconds): { spec+: { probes+: { readiness+: { initialDelaySeconds: initialDelaySeconds } } } },
1605+
'#withMaximumLag':: d.fn(help='"Lag limit. Used only for `streaming` strategy"', args=[d.arg(name='maximumLag', type=d.T.any)]),
1606+
withMaximumLag(maximumLag): { spec+: { probes+: { readiness+: { maximumLag: maximumLag } } } },
16011607
'#withPeriodSeconds':: d.fn(help='"How often (in seconds) to perform the probe.\\nDefault to 10 seconds. Minimum value is 1."', args=[d.arg(name='periodSeconds', type=d.T.integer)]),
16021608
withPeriodSeconds(periodSeconds): { spec+: { probes+: { readiness+: { periodSeconds: periodSeconds } } } },
16031609
'#withSuccessThreshold':: d.fn(help='"Minimum consecutive successes for the probe to be considered successful after having failed.\\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."', args=[d.arg(name='successThreshold', type=d.T.integer)]),
@@ -1606,13 +1612,17 @@
16061612
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds): { spec+: { probes+: { readiness+: { terminationGracePeriodSeconds: terminationGracePeriodSeconds } } } },
16071613
'#withTimeoutSeconds':: d.fn(help='"Number of seconds after which the probe times out.\\nDefaults to 1 second. Minimum value is 1.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]),
16081614
withTimeoutSeconds(timeoutSeconds): { spec+: { probes+: { readiness+: { timeoutSeconds: timeoutSeconds } } } },
1615+
'#withType':: d.fn(help='"The probe strategy"', args=[d.arg(name='type', type=d.T.string)]),
1616+
withType(type): { spec+: { probes+: { readiness+: { type: type } } } },
16091617
},
16101618
'#startup':: d.obj(help='"The startup probe configuration"'),
16111619
startup: {
16121620
'#withFailureThreshold':: d.fn(help='"Minimum consecutive failures for the probe to be considered failed after having succeeded.\\nDefaults to 3. Minimum value is 1."', args=[d.arg(name='failureThreshold', type=d.T.integer)]),
16131621
withFailureThreshold(failureThreshold): { spec+: { probes+: { startup+: { failureThreshold: failureThreshold } } } },
16141622
'#withInitialDelaySeconds':: d.fn(help='"Number of seconds after the container has started before liveness probes are initiated.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='initialDelaySeconds', type=d.T.integer)]),
16151623
withInitialDelaySeconds(initialDelaySeconds): { spec+: { probes+: { startup+: { initialDelaySeconds: initialDelaySeconds } } } },
1624+
'#withMaximumLag':: d.fn(help='"Lag limit. Used only for `streaming` strategy"', args=[d.arg(name='maximumLag', type=d.T.any)]),
1625+
withMaximumLag(maximumLag): { spec+: { probes+: { startup+: { maximumLag: maximumLag } } } },
16161626
'#withPeriodSeconds':: d.fn(help='"How often (in seconds) to perform the probe.\\nDefault to 10 seconds. Minimum value is 1."', args=[d.arg(name='periodSeconds', type=d.T.integer)]),
16171627
withPeriodSeconds(periodSeconds): { spec+: { probes+: { startup+: { periodSeconds: periodSeconds } } } },
16181628
'#withSuccessThreshold':: d.fn(help='"Minimum consecutive successes for the probe to be considered successful after having failed.\\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."', args=[d.arg(name='successThreshold', type=d.T.integer)]),
@@ -1621,6 +1631,8 @@
16211631
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds): { spec+: { probes+: { startup+: { terminationGracePeriodSeconds: terminationGracePeriodSeconds } } } },
16221632
'#withTimeoutSeconds':: d.fn(help='"Number of seconds after which the probe times out.\\nDefaults to 1 second. Minimum value is 1.\\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"', args=[d.arg(name='timeoutSeconds', type=d.T.integer)]),
16231633
withTimeoutSeconds(timeoutSeconds): { spec+: { probes+: { startup+: { timeoutSeconds: timeoutSeconds } } } },
1634+
'#withType':: d.fn(help='"The probe strategy"', args=[d.arg(name='type', type=d.T.string)]),
1635+
withType(type): { spec+: { probes+: { startup+: { type: type } } } },
16241636
},
16251637
},
16261638
'#projectedVolumeTemplate':: d.obj(help='"Template to be used to define projected volumes, projected volumes will be mounted\\nunder `/projected` base folder"'),

1.25.0/_gen/postgresql/v1/backup.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
local d = (import 'doc-util/main.libsonnet'),
3-
'#':: d.pkg(name='backup', url='', help='"Backup is the Schema for the backups API"'),
3+
'#':: d.pkg(name='backup', url='', help='"A Backup resource is a request for a PostgreSQL backup by the user."'),
44
'#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'),
55
metadata: {
66
'#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]),

0 commit comments

Comments
 (0)