helm: add extraDeploy option

To deploy additional manifests with the release.

Signed-off-by: Ruslan Khizhnyak <mustdiechik@gmail.com>
This commit is contained in:
Ruslan Khizhnyak 2023-11-15 11:46:49 +03:00 committed by mergify[bot]
parent b5d8bf0c50
commit ec29ec1ac2
6 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{{- range .Values.extraDeploy }}
---
{{- tpl ( . | toYaml) $ }}
{{- end }}

View File

@ -323,6 +323,9 @@ cephconf: |
# see https://github.com/ceph/ceph-csi/issues/1928 # see https://github.com/ceph/ceph-csi/issues/1928
fuse_big_writes = true fuse_big_writes = true
# Array of extra objects to deploy with the release
extraDeploy: []
######################################################### #########################################################
# Variables for 'internal' use please use with caution! # # Variables for 'internal' use please use with caution! #
######################################################### #########################################################

View File

@ -0,0 +1,4 @@
{{- range .Values.extraDeploy }}
---
{{- tpl ( . | toYaml) $ }}
{{- end }}

View File

@ -501,6 +501,9 @@ cephconf: |
auth_service_required = cephx auth_service_required = cephx
auth_client_required = cephx auth_client_required = cephx
# Array of extra objects to deploy with the release
extraDeploy: []
######################################################### #########################################################
# Variables for 'internal' use please use with caution! # # Variables for 'internal' use please use with caution! #
######################################################### #########################################################

View File

@ -77,6 +77,7 @@ you're running it inside a k8s cluster and find the config itself).
| `csi.storage.k8s.io/provisioner-secret-namespace`, `csi.storage.k8s.io/node-stage-secret-namespace` | for Kubernetes | Namespaces of the above Secret objects | | `csi.storage.k8s.io/provisioner-secret-namespace`, `csi.storage.k8s.io/node-stage-secret-namespace` | for Kubernetes | Namespaces of the above Secret objects |
| `encrypted` | no | disabled by default, use `"true"` to enable fscrypt encryption on PVC and `"false"` to disable it. **Do not change for existing storageclasses** | | `encrypted` | no | disabled by default, use `"true"` to enable fscrypt encryption on PVC and `"false"` to disable it. **Do not change for existing storageclasses** |
| `encryptionKMSID` | no | required if encryption is enabled and a kms is used to store passphrases | | `encryptionKMSID` | no | required if encryption is enabled and a kms is used to store passphrases |
| `extraDeploy` | no | array of extra objects to deploy with the release |
**NOTE:** An accompanying CSI configuration file, needs to be provided to the **NOTE:** An accompanying CSI configuration file, needs to be provided to the
running pods. Refer to [Creating CSI configuration](../examples/README.md#creating-csi-configuration) running pods. Refer to [Creating CSI configuration](../examples/README.md#creating-csi-configuration)

View File

@ -72,6 +72,7 @@ make image-cephcsi
| `stripeUnit` | no | stripe unit in bytes | | `stripeUnit` | no | stripe unit in bytes |
| `stripeCount` | no | objects to stripe over before looping | | `stripeCount` | no | objects to stripe over before looping |
| `objectSize` | no | object size in bytes | | `objectSize` | no | object size in bytes |
| `extraDeploy` | no | array of extra objects to deploy with the release |
**NOTE:** An accompanying CSI configuration file, needs to be provided to the **NOTE:** An accompanying CSI configuration file, needs to be provided to the
running pods. Refer to [Creating CSI configuration](../examples/README.md#creating-csi-configuration) running pods. Refer to [Creating CSI configuration](../examples/README.md#creating-csi-configuration)