diff --git a/helm/trident-operator/templates/deployment.yaml b/helm/trident-operator/templates/deployment.yaml index 8f4ba95a9..f0c40dd1d 100644 --- a/helm/trident-operator/templates/deployment.yaml +++ b/helm/trident-operator/templates/deployment.yaml @@ -68,12 +68,7 @@ spec: imagePullPolicy: {{ .Values.imagePullPolicy }} name: trident-operator resources: - requests: - cpu: "10m" - memory: "40Mi" - limits: - cpu: "20m" - memory: "80Mi" + {{- toYaml .Values.operatorResources | nindent 10 }} {{- if and (eq .Values.cloudProvider "Azure") (eq .Values.cloudIdentity "") }} volumes: - name: azure-cred diff --git a/helm/trident-operator/values.yaml b/helm/trident-operator/values.yaml index a7e8d2536..6e08388d0 100644 --- a/helm/trident-operator/values.yaml +++ b/helm/trident-operator/values.yaml @@ -74,6 +74,15 @@ operatorImage: "" # operatorImageTag allows overriding the tag of the trident-operator image. operatorImageTag: "" +# operatorResources permits configuring the trident-operator resources. +operatorResources: + requests: + cpu: "10m" + memory: "40Mi" + limits: + cpu: "20m" + memory: "80Mi" + # tridentIPv6 allows enabling Trident to work in IPv6 clusters. tridentIPv6: false