|
2416 | 2416 | '#withMatchLabelsMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabels', type=d.T.object)]), |
2417 | 2417 | withMatchLabelsMixin(matchLabels): { labelSelector+: { matchLabels+: matchLabels } }, |
2418 | 2418 | }, |
| 2419 | + '#withMatchLabelKeys':: d.fn(help='', args=[d.arg(name='matchLabelKeys', type=d.T.array)]), |
| 2420 | + withMatchLabelKeys(matchLabelKeys): { matchLabelKeys: if std.isArray(v=matchLabelKeys) then matchLabelKeys else [matchLabelKeys] }, |
| 2421 | + '#withMatchLabelKeysMixin':: d.fn(help='\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='matchLabelKeys', type=d.T.array)]), |
| 2422 | + withMatchLabelKeysMixin(matchLabelKeys): { matchLabelKeys+: if std.isArray(v=matchLabelKeys) then matchLabelKeys else [matchLabelKeys] }, |
2419 | 2423 | '#withMaxSkew':: d.fn(help='', args=[d.arg(name='maxSkew', type=d.T.integer)]), |
2420 | 2424 | withMaxSkew(maxSkew): { maxSkew: maxSkew }, |
2421 | 2425 | '#withMinDomains':: d.fn(help='', args=[d.arg(name='minDomains', type=d.T.integer)]), |
2422 | 2426 | withMinDomains(minDomains): { minDomains: minDomains }, |
| 2427 | + '#withNodeAffinityPolicy':: d.fn(help='', args=[d.arg(name='nodeAffinityPolicy', type=d.T.string)]), |
| 2428 | + withNodeAffinityPolicy(nodeAffinityPolicy): { nodeAffinityPolicy: nodeAffinityPolicy }, |
| 2429 | + '#withNodeTaintsPolicy':: d.fn(help='', args=[d.arg(name='nodeTaintsPolicy', type=d.T.string)]), |
| 2430 | + withNodeTaintsPolicy(nodeTaintsPolicy): { nodeTaintsPolicy: nodeTaintsPolicy }, |
2423 | 2431 | '#withTopologyKey':: d.fn(help='', args=[d.arg(name='topologyKey', type=d.T.string)]), |
2424 | 2432 | withTopologyKey(topologyKey): { topologyKey: topologyKey }, |
2425 | 2433 | '#withWhenUnsatisfiable':: d.fn(help='', args=[d.arg(name='whenUnsatisfiable', type=d.T.string)]), |
|
3023 | 3031 | withHostNetwork(hostNetwork): { spec+: { override+: { statefulSet+: { spec+: { template+: { spec+: { hostNetwork: hostNetwork } } } } } } }, |
3024 | 3032 | '#withHostPID':: d.fn(help='', args=[d.arg(name='hostPID', type=d.T.boolean)]), |
3025 | 3033 | withHostPID(hostPID): { spec+: { override+: { statefulSet+: { spec+: { template+: { spec+: { hostPID: hostPID } } } } } } }, |
| 3034 | + '#withHostUsers':: d.fn(help='', args=[d.arg(name='hostUsers', type=d.T.boolean)]), |
| 3035 | + withHostUsers(hostUsers): { spec+: { override+: { statefulSet+: { spec+: { template+: { spec+: { hostUsers: hostUsers } } } } } } }, |
3026 | 3036 | '#withHostname':: d.fn(help='', args=[d.arg(name='hostname', type=d.T.string)]), |
3027 | 3037 | withHostname(hostname): { spec+: { override+: { statefulSet+: { spec+: { template+: { spec+: { hostname: hostname } } } } } } }, |
3028 | 3038 | '#withImagePullSecrets':: d.fn(help='', args=[d.arg(name='imagePullSecrets', type=d.T.array)]), |
|
0 commit comments