diff --git a/charts/argo-events/templates/eventbus-controller-deployment.yaml b/charts/argo-events/templates/eventbus-controller-deployment.yaml index 006829c1..45d54c88 100644 --- a/charts/argo-events/templates/eventbus-controller-deployment.yaml +++ b/charts/argo-events/templates/eventbus-controller-deployment.yaml @@ -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 }} diff --git a/charts/argo-events/templates/eventsource-controller-deployment.yaml b/charts/argo-events/templates/eventsource-controller-deployment.yaml index aaf68ec7..6a6de633 100644 --- a/charts/argo-events/templates/eventsource-controller-deployment.yaml +++ b/charts/argo-events/templates/eventsource-controller-deployment.yaml @@ -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 }} diff --git a/charts/argo-events/templates/sensor-controller-deployment.yaml b/charts/argo-events/templates/sensor-controller-deployment.yaml index 7df915b6..af745c87 100644 --- a/charts/argo-events/templates/sensor-controller-deployment.yaml +++ b/charts/argo-events/templates/sensor-controller-deployment.yaml @@ -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 }}