[template] Fix topologySpreadConstraints default values (#10653)

* Fix topologySpreadConstraints default values

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Change sidecars and initContainers type

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2022-06-07 17:19:07 +02:00
committed by GitHub
parent a99e205b2a
commit dfbf28240e

View File

@@ -289,7 +289,7 @@ diagnosticMode:
## @param %%MAIN_OBJECT_BLOCK%%.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
##
topologySpreadConstraints: {}
topologySpreadConstraints: []
## @param %%MAIN_OBJECT_BLOCK%%.schedulerName Name of the k8s scheduler (other than default) for %%MAIN_CONTAINER_NAME%% pods
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
@@ -330,7 +330,7 @@ diagnosticMode:
## - name: portname
## containerPort: 1234
##
sidecars: {}
sidecars: []
## @param %%MAIN_OBJECT_BLOCK%%.initContainers Add additional init containers to the %%MAIN_CONTAINER_NAME%% pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
@@ -340,7 +340,7 @@ diagnosticMode:
## imagePullPolicy: Always
## command: ['sh', '-c', 'echo "hello world"']
##
initContainers: {}
initContainers: []
## %%SECONDARY_CONTAINER/POD_DESCRIPTION%%
##