diff --git a/charts/eks/templates/syncer.yaml b/charts/eks/templates/syncer.yaml index e9e62f614..0dac31e5f 100644 --- a/charts/eks/templates/syncer.yaml +++ b/charts/eks/templates/syncer.yaml @@ -169,6 +169,8 @@ spec: {{- if .Values.controller.imagePullPolicy }} imagePullPolicy: {{ .Values.controller.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- end }} {{- if not .Values.api.disabled }} - name: kube-apiserver @@ -185,6 +187,8 @@ spec: {{- if .Values.api.imagePullPolicy }} imagePullPolicy: {{ .Values.api.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- end }} containers: - name: syncer diff --git a/charts/k8s/templates/syncer.yaml b/charts/k8s/templates/syncer.yaml index e993f4afd..e8fb553f8 100644 --- a/charts/k8s/templates/syncer.yaml +++ b/charts/k8s/templates/syncer.yaml @@ -167,6 +167,8 @@ spec: {{- if .Values.controller.imagePullPolicy }} imagePullPolicy: {{ .Values.controller.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- end }} {{- if or (not .Values.scheduler.disabled) .Values.sync.nodes.enableScheduler }} - name: kube-scheduler-manager @@ -183,6 +185,8 @@ spec: {{- if .Values.scheduler.imagePullPolicy }} imagePullPolicy: {{ .Values.scheduler.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- end }} {{- if not .Values.api.disabled }} - name: kube-apiserver @@ -199,6 +203,8 @@ spec: {{- if .Values.api.imagePullPolicy }} imagePullPolicy: {{ .Values.api.imagePullPolicy }} {{- end }} + resources: +{{ toYaml .Values.syncer.resources | indent 10 }} {{- end }} containers: - name: syncer