Fix resources scope

Signed-off-by: Chris St. Pierre <chris.a.st.pierre@gmail.com>
This commit is contained in:
Chris St. Pierre 2021-05-26 12:58:02 -05:00
parent d49d335a1c
commit 657bf96bed
3 changed files with 3 additions and 12 deletions

View file

@ -55,6 +55,7 @@ spec:
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.eventbusController.resources | nindent 12 }}
{{- with .Values.eventbusController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
@ -74,7 +75,3 @@ spec:
{{- if .Values.eventbusController.affinity }}
affinity: {{ toYaml .Values.eventbusController.affinity | nindent 8 }}
{{- end }}
{{- if .Values.eventbusController.resources }}
resources:
{{- toYaml .Values.eventbusController.resources | nindent 8 }}
{{- end }}

View file

@ -53,6 +53,7 @@ spec:
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.eventbusController.resources | nindent 12 }}
{{- with .Values.eventsourceController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
@ -72,7 +73,3 @@ spec:
{{- if .Values.eventsourceController.affinity }}
affinity: {{ toYaml .Values.eventsourceController.affinity | nindent 8 }}
{{- end }}
{{- if .Values.eventsourceController.resources }}
resources:
{{- toYaml .Values.eventsourceController.resources | nindent 8 }}
{{- end }}

View file

@ -53,6 +53,7 @@ spec:
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.eventbusController.resources | nindent 12 }}
{{- with .Values.sensorController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
@ -72,7 +73,3 @@ spec:
{{- if .Values.sensorController.affinity }}
affinity: {{ toYaml .Values.sensorController.affinity | nindent 8 }}
{{- end }}
{{- if .Values.sensorController.resources }}
resources:
{{- toYaml .Values.sensorController.resources | nindent 8 }}
{{- end }}