Skip to content

Commit

Permalink
Merge pull request #1567 from facchettos/init-resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kosiewski authored Feb 28, 2024
2 parents 81b8b54 + 41c0aa1 commit 306de8b
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 306de8b

Please sign in to comment.