diff --git a/charts/eks/templates/syncer.yaml b/charts/eks/templates/syncer.yaml index 2480bd446..e9e62f614 100644 --- a/charts/eks/templates/syncer.yaml +++ b/charts/eks/templates/syncer.yaml @@ -152,6 +152,8 @@ spec: {{- if .Values.syncer.imagePullPolicy }} imagePullPolicy: {{ .Values.syncer.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- if not .Values.controller.disabled }} - name: kube-controller-manager image: "{{ .Values.defaultImageRegistry }}{{ .Values.controller.image }}" diff --git a/charts/k8s/templates/syncer.yaml b/charts/k8s/templates/syncer.yaml index 29e43f63e..e993f4afd 100644 --- a/charts/k8s/templates/syncer.yaml +++ b/charts/k8s/templates/syncer.yaml @@ -150,6 +150,8 @@ spec: {{- if .Values.syncer.imagePullPolicy }} imagePullPolicy: {{ .Values.syncer.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- if not .Values.controller.disabled }} - name: kube-controller-manager image: "{{ .Values.defaultImageRegistry }}{{ .Values.controller.image }}"