Skip to content

Commit

Permalink
add resources to webhook chart (karmada-io#3891)
Browse files Browse the repository at this point in the history
* add resources to webhook chart

Signed-off-by: yizhang-zen <[email protected]>

* add resource to scheduler-estimator chart

Signed-off-by: yizhang-zen <[email protected]>

---------

Signed-off-by: yizhang-zen <[email protected]>
  • Loading branch information
yizhang-zen committed Dec 9, 2023
1 parent 4ce4c2a commit fdbb322
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/karmada/templates/karmada-descheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
{{- end }}
automountServiceAccountToken: false
containers:
- name: {{ $name }}
- name: {{ $name }}-descheduler
image: {{ template "karmada.descheduler.image" . }}
imagePullPolicy: {{ .Values.descheduler.image.pullPolicy }}
command:
Expand Down
2 changes: 2 additions & 0 deletions charts/karmada/templates/karmada-scheduler-estimator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
- name: member-kubeconfig
subPath: {{ $clusterName }}-kubeconfig
mountPath: /etc/{{ $clusterName }}-kubeconfig
resources:
{{- toYaml .Values.schedulerEstimator.resources | nindent 12 }}
volumes:
- name: member-kubeconfig
secret:
Expand Down
2 changes: 2 additions & 0 deletions charts/karmada/templates/karmada-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ spec:
path: /readyz
port: 8443
scheme: HTTPS
resources:
{{- toYaml .Values.webhook.resources | nindent 12 }}
volumes:
{{- include "karmada.kubeconfig.volume" . | nindent 8 }}
- name: {{ $name }}-webhook-cert-secret
Expand Down

0 comments on commit fdbb322

Please sign in to comment.