Skip to content

Commit

Permalink
Aws fsxn abc post install hook changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarshjh authored Nov 28, 2024
1 parent c9aa7fa commit 4513299
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions helm/trident-operator/templates/postinstallupgradehook.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.anfConfigurator.enabled }}
{{- if or .Values.anfConfigurator.enabled .Values.ontapConfigurator.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand All @@ -23,6 +23,18 @@ metadata:
"helm.sh/hook-delete-policy": hook-succeeded, hook-failed
spec:
restartPolicy: Never
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | nindent 4 }}
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | nindent 4 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | nindent 4 }}
{{- end }}
initContainers:
- name: init-container-1
image: {{ include "trident.image" $ }}
Expand All @@ -34,7 +46,7 @@ spec:
- check
- operator
- --timeout
- "7200" # Keeping it 12mins as AKS extension script has an upper limit of 15mins.
- "7200" # Keeping it 12 mins as AKS extension script has an upper limit of 15 mins.
env:
- name: POD_NAMESPACE
valueFrom:
Expand Down

0 comments on commit 4513299

Please sign in to comment.