Merge pull request #18042 from jhoblitt/helm-toolbox-repository-tag

helm: add toolbox repository and tag settings
This commit is contained in:
Travis Nielsen authored and GitHub committed 2026-07-28 11:12:48 -06:00
commit c40d428ffb
3 files changed
+18 -3

No files matched your search

@@ -89,10 +89,12 @@ The following table lists the configurable parameters of the rook-operator chart
| `toolbox.affinity` | Toolbox affinity | `{}` |
| `toolbox.containerSecurityContext` | Toolbox container security context | `{"capabilities":{"drop":["ALL"]},"runAsGroup":2016,"runAsNonRoot":true,"runAsUser":2016}` |
| `toolbox.enabled` | Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md) | `false` |
| `toolbox.image` | Toolbox image, defaults to the image used by the Ceph cluster | `nil` |
| `toolbox.image` | Toolbox image, superseded by `toolbox.repository` and `toolbox.tag` | the image used by the Ceph cluster |
| `toolbox.labels` | Toolbox labels | `{}` |
| `toolbox.priorityClassName` | Set the priority class for the toolbox if desired | `nil` |
| `toolbox.repository` | The repository from which to pull the toolbox image | `.Values.cephImage.repository` |
| `toolbox.resources` | Toolbox resources | `{"limits":{"memory":"1Gi"},"requests":{"cpu":"100m","memory":"128Mi"}}` |
| `toolbox.tag` | The tag of the toolbox image | `.Values.cephImage.tag` |
| `toolbox.tolerations` | Toolbox tolerations | `[]` |
### **Ceph Cluster Spec**
@@ -36,7 +36,13 @@ spec:
{{- end }}
containers:
- name: rook-ceph-tools
image: {{ .Values.toolbox.image | default (printf "%s:%s" .Values.cephImage.repository .Values.cephImage.tag) }}
{{- if or .Values.toolbox.repository .Values.toolbox.tag }}
image: "{{ .Values.toolbox.repository | default .Values.cephImage.repository }}:{{ .Values.toolbox.tag | default .Values.cephImage.tag }}"
{{- else if .Values.toolbox.image }}
image: {{ .Values.toolbox.image | quote }}
{{- else }}
image: "{{ .Values.cephImage.repository }}:{{ .Values.cephImage.tag }}"
{{- end }}
command:
- /bin/bash
- -c
+8 -1
View File
@@ -24,7 +24,14 @@ configOverride:
toolbox:
# -- Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md)
enabled: false
# -- Toolbox image, defaults to the image used by the Ceph cluster
# -- The repository from which to pull the toolbox image
# @default -- `.Values.cephImage.repository`
repository: #quay.io/ceph/ceph
# -- The tag of the toolbox image
# @default -- `.Values.cephImage.tag`
tag: #v20.2.2
# -- Toolbox image, superseded by `toolbox.repository` and `toolbox.tag`
# @default -- the image used by the Ceph cluster
image: #quay.io/ceph/ceph:v20.2.2
# -- Toolbox tolerations
tolerations: []