From 90090ef004d70e385aa1d4ab1908a47af4f0270f Mon Sep 17 00:00:00 2001 From: zaratustra <65260383+matiasbertani@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:41:42 -0300 Subject: [PATCH] helm/doris-operator: add support for deploy resources --- helm-charts/doris-operator/templates/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helm-charts/doris-operator/templates/deployment.yaml b/helm-charts/doris-operator/templates/deployment.yaml index 1e9ff492..ea39ed89 100644 --- a/helm-charts/doris-operator/templates/deployment.yaml +++ b/helm-charts/doris-operator/templates/deployment.yaml @@ -118,10 +118,12 @@ spec: port: 8081 initialDelaySeconds: 5 periodSeconds: 10 - # TODO(user): Configure the resources accordingly based on the project requirements. - # More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ resources: + {{- if .Values.dorisOperator.resources }} + {{- toYaml .Values.dorisOperator.resources | nindent 12 }} + {{ else }} {{- include "operator.default.resources" . | indent 8 }} + {{- end }} volumeMounts: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert