|
49 | 49 | } + self.metadata.withName(name=name), |
50 | 50 | '#spec':: d.obj(help='"SecretTransformationSpec defines the desired state of SecretTransformation"'), |
51 | 51 | 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."'), |
53 | 53 | sourceTemplates: { |
54 | 54 | '#withName':: d.fn(help='', args=[d.arg(name='name', type=d.T.string)]), |
55 | 55 | withName(name): { name: name }, |
56 | 56 | '#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)]), |
57 | 57 | withText(text): { text: text }, |
58 | 58 | }, |
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)]), |
60 | 60 | 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)]), |
62 | 62 | 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)]), |
64 | 64 | 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)]), |
66 | 66 | 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)]), |
68 | 68 | 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)]), |
70 | 70 | 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)]), |
72 | 72 | 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)]), |
74 | 74 | withTemplatesMixin(templates): { spec+: { templates+: templates } }, |
75 | 75 | }, |
76 | 76 | '#mixin': 'ignore', |
|
0 commit comments