File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
templates/sds-replicated-volume-controller Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ metadata:
47
47
namespace : d8-{{ .Chart.Name }}
48
48
{{- include "helm_lib_module_labels" (list . (dict "app" "sds-replicated-volume-controller")) | nindent 2 }}
49
49
spec :
50
- {{- include "helm_lib_deployment_on_master_strategy_and_replicas_for_ha" . | nindent 2 }}
51
50
revisionHistoryLimit : 2
51
+ {{- include "helm_lib_deployment_strategy_and_replicas_for_ha" . | nindent 2 }}
52
52
selector :
53
53
matchLabels :
54
54
app : sds-replicated-volume-controller
61
61
{{- include "helm_lib_node_selector" (tuple . "system") | nindent 6 }}
62
62
{{- include "helm_lib_tolerations" (tuple . "system") | nindent 6 }}
63
63
{{- include "helm_lib_module_pod_security_context_run_as_user_nobody" . | nindent 6 }}
64
- {{- if (include "helm_lib_ha_enabled" .) }}
65
- affinity :
66
- podAntiAffinity :
67
- preferredDuringSchedulingIgnoredDuringExecution :
68
- - podAffinityTerm :
69
- labelSelector :
70
- matchExpressions :
71
- - key : app
72
- operator : In
73
- values :
74
- - sds-replicated-volume-controller
75
- topologyKey : kubernetes.io/hostname
76
- weight : 100
77
- {{- end }}
64
+ {{- include "helm_lib_pod_anti_affinity_for_ha" (list . (dict "app" "sds-replicated-volume-controller")) | nindent 6 }}
78
65
imagePullSecrets :
79
66
- name : {{ .Chart.Name }}-module-registry
80
67
serviceAccountName : sds-replicated-volume-controller
You can’t perform that action at this time.
0 commit comments