nindent instead of indent toYaml
Signed-off-by: smcavallo <smcavallo@hotmail.com>
This commit is contained in:
parent
77b369d536
commit
d196d864f4
3 changed files with 30 additions and 42 deletions
|
@ -50,22 +50,18 @@ spec:
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext:
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.eventbusController.nodeSelector }}
|
{{- if .Values.eventbusController.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{ toYaml .Values.eventbusController.nodeSelector | nindent 8 }}
|
||||||
{{ toYaml .Values.eventbusController.nodeSelector | indent 8 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.eventbusController.tolerations }}
|
||||||
{{- if .Values.eventbusController.tolerations }}
|
tolerations: {{ toYaml .Values.eventbusController.tolerations | nindent 8 }}
|
||||||
tolerations:
|
{{- end }}
|
||||||
{{ toYaml .Values.eventbusController.tolerations | indent 8 }}
|
{{- if .Values.eventbusController.affinity }}
|
||||||
{{- end }}
|
affinity: {{ toYaml .Values.eventbusController.affinity | nindent 8 }}
|
||||||
{{- if .Values.eventbusController.affinity }}
|
{{- end }}
|
||||||
affinity:
|
|
||||||
{{ toYaml .Values.eventbusController.affinity | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -48,22 +48,18 @@ spec:
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext:
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.eventsourceController.nodeSelector }}
|
{{- if .Values.eventsourceController.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{ toYaml .Values.eventsourceController.nodeSelector | nindent 8 }}
|
||||||
{{ toYaml .Values.eventsourceController.nodeSelector | indent 8 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.eventsourceController.tolerations }}
|
||||||
{{- if .Values.eventsourceController.tolerations }}
|
tolerations: {{ toYaml .Values.eventsourceController.tolerations | nindent 8 }}
|
||||||
tolerations:
|
{{- end }}
|
||||||
{{ toYaml .Values.eventsourceController.tolerations | indent 8 }}
|
{{- if .Values.eventsourceController.affinity }}
|
||||||
{{- end }}
|
affinity: {{ toYaml .Values.eventsourceController.affinity | nindent 8 }}
|
||||||
{{- if .Values.eventsourceController.affinity }}
|
{{- end }}
|
||||||
affinity:
|
|
||||||
{{ toYaml .Values.eventsourceController.affinity | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -48,22 +48,18 @@ spec:
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext:
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.sensorController.nodeSelector }}
|
{{- if .Values.sensorController.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{ toYaml .Values.sensorController.nodeSelector | nindent 8 }}
|
||||||
{{ toYaml .Values.sensorController.nodeSelector | indent 8 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.sensorController.tolerations }}
|
||||||
{{- if .Values.sensorController.tolerations }}
|
tolerations: {{ toYaml .Values.sensorController.tolerations | nindent 8 }}
|
||||||
tolerations:
|
{{- end }}
|
||||||
{{ toYaml .Values.sensorController.tolerations | indent 8 }}
|
{{- if .Values.sensorController.affinity }}
|
||||||
{{- end }}
|
affinity: {{ toYaml .Values.sensorController.affinity | nindent 8 }}
|
||||||
{{- if .Values.sensorController.affinity }}
|
{{- end }}
|
||||||
affinity:
|
|
||||||
{{ toYaml .Values.sensorController.affinity | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
Loading…
Reference in a new issue