helm: add resources to rook-ceph-tools pod

Allow the configuration of the rook-ceph-tools pod's resource requests/limits.

Closes: #9855
Signed-off-by: Tom Hellier <me@tomhellier.com>
(cherry picked from commit 5e65f661cc)
This commit is contained in:
Tom Hellier authored and mergify-bot committed 2022-03-09 17:32:43 +00:00
1 parent 2aa3978df5
commit f889e212ef
3 files changed
+12

No files matched your search

+1
View File
@@ -62,6 +62,7 @@ The following tables lists the configurable parameters of the rook-operator char
| `toolbox.enabled` | Enable Ceph debugging pod deployment. See [toolbox](ceph-toolbox.md) | `false` |
| `toolbox.tolerations` | Toolbox tolerations | `[]` |
| `toolbox.affinity` | Toolbox affinity | `{}` |
| `toolbox.resources` | Toolbox resources | `{}` |
| `monitoring.enabled` | Enable Prometheus integration, will also create necessary RBAC rules | `false` |
| `cephClusterSpec.*` | Cluster configuration, see below | See below |
| `ingress.dashboard` | Enable an ingress for the ceph-dashboard | `{}` |
@@ -42,6 +42,10 @@ spec:
secretKeyRef:
name: rook-ceph-mon
key: ceph-secret
{{- if .Values.toolbox.resources }}
resources:
{{- toYaml .Values.toolbox.resources | nindent 12 }}
{{- end }}
volumeMounts:
- mountPath: /etc/ceph
name: ceph-config
@@ -24,6 +24,13 @@ toolbox:
image: rook/ceph:VERSION
tolerations: []
affinity: {}
resources: {}
# limits:
# cpu: "500m"
# memory: "1024Mi"
# requests:
# cpu: "100m"
# memory: "128Mi"
# Set the priority class for the toolbox if desired
# priorityClassName: class