File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
helm/trident-operator/templates Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 1- {{- if .Values.anfConfigurator.enabled }}
1+ {{- if or .Values.anfConfigurator.enabled .Values.ontapConfigurator .enabled }}
22apiVersion : v1
33kind : Service
44metadata :
@@ -23,6 +23,18 @@ metadata:
2323 " helm.sh/hook-delete-policy " : hook-succeeded, hook-failed
2424spec :
2525 restartPolicy : Never
26+ {{- if .Values.affinity }}
27+ affinity :
28+ {{ toYaml .Values.affinity | nindent 4 }}
29+ {{- end }}
30+ {{- if .Values.nodeSelector }}
31+ nodeSelector :
32+ {{ toYaml .Values.nodeSelector | nindent 4 }}
33+ {{- end }}
34+ {{- if .Values.tolerations }}
35+ tolerations :
36+ {{ toYaml .Values.tolerations | nindent 4 }}
37+ {{- end }}
2638 initContainers :
2739 - name : init-container-1
2840 image : {{ include "trident.image" $ }}
3446 - check
3547 - operator
3648 - --timeout
37- - " 7200" # Keeping it 12mins as AKS extension script has an upper limit of 15mins .
49+ - " 7200" # Keeping it 12 mins as AKS extension script has an upper limit of 15 mins .
3850 env :
3951 - name : POD_NAMESPACE
4052 valueFrom :
You can’t perform that action at this time.
0 commit comments