Skip to content

Commit 98e7fbc

Browse files
committed
Restoring additional changes
1 parent e894517 commit 98e7fbc

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

charts/spark-operator-chart/templates/controller/deployment.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,10 @@ metadata:
2121
labels:
2222
{{- include "spark-operator.controller.labels" . | nindent 4 }}
2323
spec:
24-
{{- with .Values.controller.progressDeadlineSeconds }}
25-
progressDeadlineSeconds: {{ . }}
26-
{{- end }}
2724
replicas: {{ .Values.controller.replicas }}
28-
{{- with .Values.controller.revisionHistoryLimit }}
29-
revisionHistoryLimit: {{ . }}
30-
{{- end }}
3125
selector:
3226
matchLabels:
3327
{{- include "spark-operator.controller.selectorLabels" . | nindent 6 }}
34-
{{- with .Values.controller.strategy }}
35-
strategy:
36-
{{- toYaml . | nindent 4 }}
37-
{{- end }}
3828
template:
3929
metadata:
4030
labels:
@@ -162,7 +152,6 @@ spec:
162152
volumeMounts:
163153
{{- toYaml . | nindent 8 }}
164154
{{- end }}
165-
resources: {}
166155
{{- with .Values.controller.resources }}
167156
resources:
168157
{{- toYaml . | nindent 10 }}
@@ -181,8 +170,6 @@ spec:
181170
securityContext:
182171
{{- toYaml . | nindent 10 }}
183172
{{- end }}
184-
terminationMessagePath: /dev/termination-log
185-
terminationMessagePolicy: File
186173
{{- if .Values.controller.submitter.nativeSubmitPlugin.enabled }}
187174
- name: native-submit
188175
image: {{ .Values.controller.submitter.nativeSubmitPlugin.image }}
@@ -238,20 +225,8 @@ spec:
238225
{{- with .Values.controller.priorityClassName }}
239226
priorityClassName: {{ . }}
240227
{{- end }}
241-
{{- with .Values.controller.dnsPolicy }}
242-
dnsPolicy: {{ . }}
243-
{{- end }}
244-
{{- with .Values.controller.restartPolicy }}
245-
restartPolicy: {{ . }}
246-
{{- end }}
247-
{{- with .Values.controller.schedulerName }}
248-
schedulerName: {{ . }}
249-
{{- end }}
250228
serviceAccountName: {{ include "spark-operator.controller.serviceAccountName" . }}
251229
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
252-
{{- with .Values.controller.terminationGracePeriodSeconds }}
253-
terminationGracePeriodSeconds: {{ . }}
254-
{{- end }}
255230
{{- with .Values.controller.podSecurityContext }}
256231
securityContext:
257232
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)