Skip to content

Commit 1d84fa0

Browse files
pnlxjsonnet-libs-bot
authored andcommitted
update: source github.com/jsonnet-libs/k8s@0a40d11b
1 parent 8bb5401 commit 1d84fa0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+168
-168
lines changed

0.1.0/_gen/secrets/v1beta1/secretTransformation.libsonnet

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,28 @@
4949
} + self.metadata.withName(name=name),
5050
'#spec':: d.obj(help='"SecretTransformationSpec defines the desired state of SecretTransformation"'),
5151
spec: {
52-
'#sourceTemplates':: d.obj(help='"SourceTemplates are never included in the rendered K8s Secret, they can be\\nused to provide common template definitions, etc."'),
52+
'#sourceTemplates':: d.obj(help='"SourceTemplates are never included in the rendered secret, they can be\\nused to provide common template definitions, etc."'),
5353
sourceTemplates: {
5454
'#withName':: d.fn(help='', args=[d.arg(name='name', type=d.T.string)]),
5555
withName(name): { name: name },
5656
'#withText':: d.fn(help='"Text contains the Go text template format. The template\\nreferences attributes from the data structure of the source secret.\\nRefer to https://pkg.go.dev/text/template for more information."', args=[d.arg(name='text', type=d.T.string)]),
5757
withText(text): { text: text },
5858
},
59-
'#withExcludes':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."', args=[d.arg(name='excludes', type=d.T.array)]),
59+
'#withExcludes':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."', args=[d.arg(name='excludes', type=d.T.array)]),
6060
withExcludes(excludes): { spec+: { excludes: if std.isArray(v=excludes) then excludes else [excludes] } },
61-
'#withExcludesMixin':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='excludes', type=d.T.array)]),
61+
'#withExcludesMixin':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='excludes', type=d.T.array)]),
6262
withExcludesMixin(excludes): { spec+: { excludes+: if std.isArray(v=excludes) then excludes else [excludes] } },
63-
'#withIncludes':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."', args=[d.arg(name='includes', type=d.T.array)]),
63+
'#withIncludes':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."', args=[d.arg(name='includes', type=d.T.array)]),
6464
withIncludes(includes): { spec+: { includes: if std.isArray(v=includes) then includes else [includes] } },
65-
'#withIncludesMixin':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='includes', type=d.T.array)]),
65+
'#withIncludesMixin':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='includes', type=d.T.array)]),
6666
withIncludesMixin(includes): { spec+: { includes+: if std.isArray(v=includes) then includes else [includes] } },
67-
'#withSourceTemplates':: d.fn(help='"SourceTemplates are never included in the rendered K8s Secret, they can be\\nused to provide common template definitions, etc."', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
67+
'#withSourceTemplates':: d.fn(help='"SourceTemplates are never included in the rendered secret, they can be\\nused to provide common template definitions, etc."', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
6868
withSourceTemplates(sourceTemplates): { spec+: { sourceTemplates: if std.isArray(v=sourceTemplates) then sourceTemplates else [sourceTemplates] } },
69-
'#withSourceTemplatesMixin':: d.fn(help='"SourceTemplates are never included in the rendered K8s Secret, they can be\\nused to provide common template definitions, etc."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
69+
'#withSourceTemplatesMixin':: d.fn(help='"SourceTemplates are never included in the rendered secret, they can be\\nused to provide common template definitions, etc."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
7070
withSourceTemplatesMixin(sourceTemplates): { spec+: { sourceTemplates+: if std.isArray(v=sourceTemplates) then sourceTemplates else [sourceTemplates] } },
71-
'#withTemplates':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered K8s Secret with the specified key."', args=[d.arg(name='templates', type=d.T.object)]),
71+
'#withTemplates':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered secret with the specified key."', args=[d.arg(name='templates', type=d.T.object)]),
7272
withTemplates(templates): { spec+: { templates: templates } },
73-
'#withTemplatesMixin':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered K8s Secret with the specified key."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='templates', type=d.T.object)]),
73+
'#withTemplatesMixin':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered secret with the specified key."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='templates', type=d.T.object)]),
7474
withTemplatesMixin(templates): { spec+: { templates+: templates } },
7575
},
7676
'#mixin': 'ignore',

0.1.0/_gen/secrets/v1beta1/vaultAuth.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@
139139
'#withNamespace':: d.fn(help='"Namespace of the VaultAuthGlobal resource. If not provided, the namespace of\\nthe referring VaultAuth resource is used."', args=[d.arg(name='namespace', type=d.T.string)]),
140140
withNamespace(namespace): { spec+: { vaultAuthGlobalRef+: { namespace: namespace } } },
141141
},
142-
'#withAllowedNamespaces':: d.fn(help="\"AllowedNamespaces Kubernetes Namespaces which are allow-listed for use with this AuthMethod.\\nThis field allows administrators to customize which Kubernetes namespaces are authorized to\\nuse with this AuthMethod. While Vault will still enforce its own rules, this has the added\\nconfigurability of restricting which VaultAuthMethods can be used by which namespaces.\\nAccepted values:\\n[]{\\\"*\\\"} - wildcard, all namespaces.\\n[]{\\\"a\\\", \\\"b\\\"} - list of namespaces.\\nunset - disallow all namespaces except the Operator's the VaultAuthMethod's namespace, this\\nis the default behavior.\"", args=[d.arg(name='allowedNamespaces', type=d.T.array)]),
142+
'#withAllowedNamespaces':: d.fn(help="\"AllowedNamespaces Kubernetes Namespaces which are allow-listed for use with this AuthMethod.\\nThis field allows administrators to customize which Kubernetes namespaces are authorized to\\nuse with this AuthMethod. While Vault will still enforce its own rules, this has the added\\nconfigurability of restricting which VaultAuthMethods can be used by which namespaces.\\nYou only need to set allowedNamespaces when you want to control access from a resource in\\na different namespace than the VaultAuth it references. Secret resources in\\nthe same namespace as the VaultAuth bypass this check.\\nAccepted values:\\n[]{\\\"*\\\"} - wildcard, all namespaces.\\n[]{\\\"a\\\", \\\"b\\\"} - list of namespaces.\\nunset - disallow all namespaces except the Operator's the VaultAuthMethod's namespace, this\\nis the default behavior.\"", args=[d.arg(name='allowedNamespaces', type=d.T.array)]),
143143
withAllowedNamespaces(allowedNamespaces): { spec+: { allowedNamespaces: if std.isArray(v=allowedNamespaces) then allowedNamespaces else [allowedNamespaces] } },
144-
'#withAllowedNamespacesMixin':: d.fn(help="\"AllowedNamespaces Kubernetes Namespaces which are allow-listed for use with this AuthMethod.\\nThis field allows administrators to customize which Kubernetes namespaces are authorized to\\nuse with this AuthMethod. While Vault will still enforce its own rules, this has the added\\nconfigurability of restricting which VaultAuthMethods can be used by which namespaces.\\nAccepted values:\\n[]{\\\"*\\\"} - wildcard, all namespaces.\\n[]{\\\"a\\\", \\\"b\\\"} - list of namespaces.\\nunset - disallow all namespaces except the Operator's the VaultAuthMethod's namespace, this\\nis the default behavior.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='allowedNamespaces', type=d.T.array)]),
144+
'#withAllowedNamespacesMixin':: d.fn(help="\"AllowedNamespaces Kubernetes Namespaces which are allow-listed for use with this AuthMethod.\\nThis field allows administrators to customize which Kubernetes namespaces are authorized to\\nuse with this AuthMethod. While Vault will still enforce its own rules, this has the added\\nconfigurability of restricting which VaultAuthMethods can be used by which namespaces.\\nYou only need to set allowedNamespaces when you want to control access from a resource in\\na different namespace than the VaultAuth it references. Secret resources in\\nthe same namespace as the VaultAuth bypass this check.\\nAccepted values:\\n[]{\\\"*\\\"} - wildcard, all namespaces.\\n[]{\\\"a\\\", \\\"b\\\"} - list of namespaces.\\nunset - disallow all namespaces except the Operator's the VaultAuthMethod's namespace, this\\nis the default behavior.\"\n\n**Note:** This function appends passed data to existing values", args=[d.arg(name='allowedNamespaces', type=d.T.array)]),
145145
withAllowedNamespacesMixin(allowedNamespaces): { spec+: { allowedNamespaces+: if std.isArray(v=allowedNamespaces) then allowedNamespaces else [allowedNamespaces] } },
146146
'#withHeaders':: d.fn(help='"Headers to be included in all Vault requests."', args=[d.arg(name='headers', type=d.T.object)]),
147147
withHeaders(headers): { spec+: { headers: headers } },

0.1.0/_gen/secrets/v1beta1/vaultStaticSecret.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
withMount(mount): { spec+: { mount: mount } },
130130
'#withNamespace':: d.fn(help="\"Namespace of the secrets engine mount in Vault. If not set, the namespace that's\\npart of VaultAuth resource will be inferred.\"", args=[d.arg(name='namespace', type=d.T.string)]),
131131
withNamespace(namespace): { spec+: { namespace: namespace } },
132-
'#withPath':: d.fn(help='"Path of the secret in Vault, corresponds to the `path` parameter for,\\nkv-v1: https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v1#read-secret\\nkv-v2: https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v2#read-secret-version"', args=[d.arg(name='path', type=d.T.string)]),
132+
'#withPath':: d.fn(help='"Path of the secret in Vault, corresponds to the `path` parameter for:\\nkv-v1: https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v1#read-secret\\nkv-v2: https://developer.hashicorp.com/vault/api-docs/secret/kv/kv-v2#read-secret-version"', args=[d.arg(name='path', type=d.T.string)]),
133133
withPath(path): { spec+: { path: path } },
134134
'#withRefreshAfter':: d.fn(help='"RefreshAfter a period of time, in duration notation e.g. 30s, 1m, 24h"', args=[d.arg(name='refreshAfter', type=d.T.string)]),
135135
withRefreshAfter(refreshAfter): { spec+: { refreshAfter: refreshAfter } },

0.2.0/_gen/secrets/v1beta1/secretTransformation.libsonnet

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,28 @@
4949
} + self.metadata.withName(name=name),
5050
'#spec':: d.obj(help='"SecretTransformationSpec defines the desired state of SecretTransformation"'),
5151
spec: {
52-
'#sourceTemplates':: d.obj(help='"SourceTemplates are never included in the rendered K8s Secret, they can be\\nused to provide common template definitions, etc."'),
52+
'#sourceTemplates':: d.obj(help='"SourceTemplates are never included in the rendered secret, they can be\\nused to provide common template definitions, etc."'),
5353
sourceTemplates: {
5454
'#withName':: d.fn(help='', args=[d.arg(name='name', type=d.T.string)]),
5555
withName(name): { name: name },
5656
'#withText':: d.fn(help='"Text contains the Go text template format. The template\\nreferences attributes from the data structure of the source secret.\\nRefer to https://pkg.go.dev/text/template for more information."', args=[d.arg(name='text', type=d.T.string)]),
5757
withText(text): { text: text },
5858
},
59-
'#withExcludes':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."', args=[d.arg(name='excludes', type=d.T.array)]),
59+
'#withExcludes':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."', args=[d.arg(name='excludes', type=d.T.array)]),
6060
withExcludes(excludes): { spec+: { excludes: if std.isArray(v=excludes) then excludes else [excludes] } },
61-
'#withExcludesMixin':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='excludes', type=d.T.array)]),
61+
'#withExcludesMixin':: d.fn(help='"Excludes contains regex patterns used to filter top-level source secret data\\nfields for exclusion from the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied before any inclusion patterns. To exclude all source secret data\\nfields, you can configure the single pattern \\".*\\"."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='excludes', type=d.T.array)]),
6262
withExcludesMixin(excludes): { spec+: { excludes+: if std.isArray(v=excludes) then excludes else [excludes] } },
63-
'#withIncludes':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."', args=[d.arg(name='includes', type=d.T.array)]),
63+
'#withIncludes':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."', args=[d.arg(name='includes', type=d.T.array)]),
6464
withIncludes(includes): { spec+: { includes: if std.isArray(v=includes) then includes else [includes] } },
65-
'#withIncludesMixin':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final K8s Secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='includes', type=d.T.array)]),
65+
'#withIncludesMixin':: d.fn(help='"Includes contains regex patterns used to filter top-level source secret data\\nfields for inclusion in the final secret data. These pattern filters are\\nnever applied to templated fields as defined in Templates. They are always\\napplied last."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='includes', type=d.T.array)]),
6666
withIncludesMixin(includes): { spec+: { includes+: if std.isArray(v=includes) then includes else [includes] } },
67-
'#withSourceTemplates':: d.fn(help='"SourceTemplates are never included in the rendered K8s Secret, they can be\\nused to provide common template definitions, etc."', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
67+
'#withSourceTemplates':: d.fn(help='"SourceTemplates are never included in the rendered secret, they can be\\nused to provide common template definitions, etc."', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
6868
withSourceTemplates(sourceTemplates): { spec+: { sourceTemplates: if std.isArray(v=sourceTemplates) then sourceTemplates else [sourceTemplates] } },
69-
'#withSourceTemplatesMixin':: d.fn(help='"SourceTemplates are never included in the rendered K8s Secret, they can be\\nused to provide common template definitions, etc."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
69+
'#withSourceTemplatesMixin':: d.fn(help='"SourceTemplates are never included in the rendered secret, they can be\\nused to provide common template definitions, etc."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='sourceTemplates', type=d.T.array)]),
7070
withSourceTemplatesMixin(sourceTemplates): { spec+: { sourceTemplates+: if std.isArray(v=sourceTemplates) then sourceTemplates else [sourceTemplates] } },
71-
'#withTemplates':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered K8s Secret with the specified key."', args=[d.arg(name='templates', type=d.T.object)]),
71+
'#withTemplates':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered secret with the specified key."', args=[d.arg(name='templates', type=d.T.object)]),
7272
withTemplates(templates): { spec+: { templates: templates } },
73-
'#withTemplatesMixin':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered K8s Secret with the specified key."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='templates', type=d.T.object)]),
73+
'#withTemplatesMixin':: d.fn(help='"Templates maps a template name to its Template. Templates are always included\\nin the rendered secret with the specified key."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='templates', type=d.T.object)]),
7474
withTemplatesMixin(templates): { spec+: { templates+: templates } },
7575
},
7676
'#mixin': 'ignore',

0 commit comments

Comments
 (0)