mirror of https://github.com/openkruise/charts.git
add zone spread for kruise-manager
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
parent
2b75a2f7db
commit
9168bab231
|
|
@ -51,6 +51,7 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
control-plane: controller-manager
|
||||
component: kruise-manager
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
|
|
@ -131,7 +132,7 @@ spec:
|
|||
topologySpreadConstraints:
|
||||
- labelSelector:
|
||||
matchLabels:
|
||||
control-plane: controller-manager
|
||||
component: kruise-manager
|
||||
{{- if and ( eq (int .Capabilities.KubeVersion.Major) 1) ( gt (int .Capabilities.KubeVersion.Minor) 26 ) }}
|
||||
matchLabelKeys:
|
||||
- pod-template-hash
|
||||
|
|
|
|||
Loading…
Reference in New Issue