Skip to content

Commit

Permalink
added resources for eks and k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
facchettos committed Feb 28, 2024
1 parent 9010692 commit 41c0aa1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/eks/templates/syncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions charts/k8s/templates/syncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 41c0aa1

Please sign in to comment.