|
127 | 127 | vaultAuthGlobalRef: {
|
128 | 128 | '#mergeStrategy':: d.obj(help='"MergeStrategy configures the merge strategy for HTTP headers and parameters\\nthat are included in all Vault authentication requests."'),
|
129 | 129 | mergeStrategy: {
|
130 |
| - '#withHeaders':: d.fn(help='"Headers configures the merge strategy for HTTP headers that are included in\\nall Vault requests. Choices are `union`, `replace`, or `none`.\\n\\n\\nIf `union` is set, the headers from the VaultAuthGlobal and VaultAuth\\nresources are merged. The headers from the VaultAuth always take precedence.\\n\\n\\nIf `replace` is set, the first set of non-empty headers taken in order from:\\nVaultAuth, VaultAuthGlobal auth method, VaultGlobal default headers.\\n\\n\\nIf `none` is set, the headers from the\\nVaultAuthGlobal resource are ignored and only the headers from the VaultAuth\\nresource are used. The default is `none`."', args=[d.arg(name='headers', type=d.T.string)]), |
| 130 | + '#withHeaders':: d.fn(help='"Headers configures the merge strategy for HTTP headers that are included in\\nall Vault requests. Choices are `union`, `replace`, or `none`.\\n\\nIf `union` is set, the headers from the VaultAuthGlobal and VaultAuth\\nresources are merged. The headers from the VaultAuth always take precedence.\\n\\nIf `replace` is set, the first set of non-empty headers taken in order from:\\nVaultAuth, VaultAuthGlobal auth method, VaultGlobal default headers.\\n\\nIf `none` is set, the headers from the\\nVaultAuthGlobal resource are ignored and only the headers from the VaultAuth\\nresource are used. The default is `none`."', args=[d.arg(name='headers', type=d.T.string)]), |
131 | 131 | withHeaders(headers): { spec+: { vaultAuthGlobalRef+: { mergeStrategy+: { headers: headers } } } },
|
132 |
| - '#withParams':: d.fn(help='"Params configures the merge strategy for HTTP parameters that are included in\\nall Vault requests. Choices are `union`, `replace`, or `none`.\\n\\n\\nIf `union` is set, the parameters from the VaultAuthGlobal and VaultAuth\\nresources are merged. The parameters from the VaultAuth always take\\nprecedence.\\n\\n\\nIf `replace` is set, the first set of non-empty parameters taken in order from:\\nVaultAuth, VaultAuthGlobal auth method, VaultGlobal default parameters.\\n\\n\\nIf `none` is set, the parameters from the VaultAuthGlobal resource are ignored\\nand only the parameters from the VaultAuth resource are used. The default is\\n`none`."', args=[d.arg(name='params', type=d.T.string)]), |
| 132 | + '#withParams':: d.fn(help='"Params configures the merge strategy for HTTP parameters that are included in\\nall Vault requests. Choices are `union`, `replace`, or `none`.\\n\\nIf `union` is set, the parameters from the VaultAuthGlobal and VaultAuth\\nresources are merged. The parameters from the VaultAuth always take\\nprecedence.\\n\\nIf `replace` is set, the first set of non-empty parameters taken in order from:\\nVaultAuth, VaultAuthGlobal auth method, VaultGlobal default parameters.\\n\\nIf `none` is set, the parameters from the VaultAuthGlobal resource are ignored\\nand only the parameters from the VaultAuth resource are used. The default is\\n`none`."', args=[d.arg(name='params', type=d.T.string)]), |
133 | 133 | withParams(params): { spec+: { vaultAuthGlobalRef+: { mergeStrategy+: { params: params } } } },
|
134 | 134 | },
|
135 |
| - '#withAllowDefault':: d.fn(help="\"AllowDefault when set to true will use the default VaultAuthGlobal resource\\nas the default if Name is not set. The 'allow-default-globals' option must be\\nset on the operator's '-global-vault-auth-options' flag\\n\\n\\nThe default VaultAuthGlobal search is conditional.\\nWhen a ref Namespace is set, the search for the default\\nVaultAuthGlobal resource is constrained to that namespace.\\nOtherwise, the search order is:\\n1. The default VaultAuthGlobal resource in the referring VaultAuth resource's\\nnamespace.\\n2. The default VaultAuthGlobal resource in the Operator's namespace.\"", args=[d.arg(name='allowDefault', type=d.T.boolean)]), |
| 135 | + '#withAllowDefault':: d.fn(help="\"AllowDefault when set to true will use the default VaultAuthGlobal resource\\nas the default if Name is not set. The 'allow-default-globals' option must be\\nset on the operator's '-global-vault-auth-options' flag\\n\\nThe default VaultAuthGlobal search is conditional.\\nWhen a ref Namespace is set, the search for the default\\nVaultAuthGlobal resource is constrained to that namespace.\\nOtherwise, the search order is:\\n1. The default VaultAuthGlobal resource in the referring VaultAuth resource's\\nnamespace.\\n2. The default VaultAuthGlobal resource in the Operator's namespace.\"", args=[d.arg(name='allowDefault', type=d.T.boolean)]), |
136 | 136 | withAllowDefault(allowDefault): { spec+: { vaultAuthGlobalRef+: { allowDefault: allowDefault } } },
|
137 | 137 | '#withName':: d.fn(help='"Name of the VaultAuthGlobal resource."', args=[d.arg(name='name', type=d.T.string)]),
|
138 | 138 | withName(name): { spec+: { vaultAuthGlobalRef+: { name: name } } },
|
|
157 | 157 | withParams(params): { spec+: { params: params } },
|
158 | 158 | '#withParamsMixin':: d.fn(help='"Params to use when authenticating to Vault"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='params', type=d.T.object)]),
|
159 | 159 | withParamsMixin(params): { spec+: { params+: params } },
|
160 |
| - '#withVaultConnectionRef':: d.fn(help="\"VaultConnectionRef to the VaultConnection resource, can be prefixed with a namespace,\\neg: `namespaceA/vaultConnectionRefB`. If no namespace prefix is provided it will default to\\nnamespace of the VaultConnection CR. If no value is specified for VaultConnectionRef the\\nOperator will default to the `default` VaultConnection, configured in the operator's namespace.\"", args=[d.arg(name='vaultConnectionRef', type=d.T.string)]), |
| 160 | + '#withVaultConnectionRef':: d.fn(help="\"VaultConnectionRef to the VaultConnection resource, can be prefixed with a namespace,\\neg: `namespaceA/vaultConnectionRefB`. If no namespace prefix is provided it will default to\\nthe namespace of the VaultConnection CR. If no value is specified for VaultConnectionRef the\\nOperator will default to the `default` VaultConnection, configured in the operator's namespace.\"", args=[d.arg(name='vaultConnectionRef', type=d.T.string)]), |
161 | 161 | withVaultConnectionRef(vaultConnectionRef): { spec+: { vaultConnectionRef: vaultConnectionRef } },
|
162 | 162 | },
|
163 | 163 | '#mixin': 'ignore',
|
|
0 commit comments