Skip to content

Commit

Permalink
permit specifying trident-operator resources
Browse files Browse the repository at this point in the history
closes #927

Signed-off-by: Clément Nussbaumer <[email protected]>
  • Loading branch information
clementnuss committed Oct 17, 2024
1 parent 77449b3 commit b8d04d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 1 addition & 6 deletions helm/trident-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions helm/trident-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8d04d5

Please sign in to comment.