[bitnami/minio] Add provisioning extraCommands parameter (#10590)

* Add minio provisioning extraCommands value

Signed-off-by: Alexandre Burgoni <burgoni@pm.me>

* Fix README using readme generator

Signed-off-by: Alexandre Burgoni <burgoni@pm.me>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Alexandre Burgoni
2022-06-08 09:38:19 +02:00
committed by GitHub
parent c6383b8aed
commit 9261a14a44
4 changed files with 39 additions and 31 deletions

View File

@@ -25,4 +25,4 @@ name: minio
sources:
- https://github.com/bitnami/bitnami-docker-minio
- https://min.io
version: 11.6.8
version: 11.7.0

View File

@@ -77,35 +77,35 @@ The command removes all the Kubernetes components associated with the chart and
### MinIO&reg; parameters
| Name | Description | Value |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `image.registry` | MinIO&reg; image registry | `docker.io` |
| `image.repository` | MinIO&reg; image repository | `bitnami/minio` |
| `image.tag` | MinIO&reg; image tag (immutable tags are recommended) | `2022.6.2-debian-10-r0` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `image.debug` | Specify if debug logs should be enabled | `false` |
| `clientImage.registry` | MinIO&reg; Client image registry | `docker.io` |
| `clientImage.repository` | MinIO&reg; Client image repository | `bitnami/minio-client` |
| `clientImage.tag` | MinIO&reg; Client image tag (immutable tags are recommended) | `2022.5.9-debian-10-r22` |
| `mode` | MinIO&reg; server mode (`standalone` or `distributed`) | `standalone` |
| `auth.rootUser` | MinIO&reg; root username | `admin` |
| `auth.rootPassword` | Password for MinIO&reg; root user | `""` |
| `auth.existingSecret` | Use existing secret for credentials details (`auth.rootUser` and `auth.rootPassword` will be ignored and picked up from this secret). The secret has to contain the keys `root-user` and `root-password`) | `""` |
| `auth.forcePassword` | Force users to specify required passwords | `false` |
| `auth.useCredentialsFiles` | Mount credentials as a files instead of using an environment variable | `false` |
| `auth.forceNewKeys` | Force root credentials (user and password) to be reconfigured every time they change in the secrets | `false` |
| `defaultBuckets` | Comma, semi-colon or space separated list of buckets to create at initialization (only in standalone mode) | `""` |
| `disableWebUI` | Disable MinIO&reg; Web UI | `false` |
| `tls.enabled` | Enable tls in front of the container | `false` |
| `tls.autoGenerated` | Generate automatically self-signed TLS certificates | `false` |
| `tls.existingSecret` | Name of an existing secret holding the certificate information | `""` |
| `tls.mountPath` | The mount path where the secret will be located | `""` |
| `extraEnvVars` | Extra environment variables to be set on MinIO&reg; container | `{}` |
| `extraEnvVarsCM` | ConfigMap with extra environment variables | `""` |
| `extraEnvVarsSecret` | Secret with extra environment variables | `""` |
| `command` | Default container command (useful when using custom images). Use array form | `[]` |
| `args` | Default container args (useful when using custom images). Use array form | `[]` |
| Name | Description | Value |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
| `image.registry` | MinIO&reg; image registry | `docker.io` |
| `image.repository` | MinIO&reg; image repository | `bitnami/minio` |
| `image.tag` | MinIO&reg; image tag (immutable tags are recommended) | `2022.6.3-debian-11-r0` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `image.debug` | Specify if debug logs should be enabled | `false` |
| `clientImage.registry` | MinIO&reg; Client image registry | `docker.io` |
| `clientImage.repository` | MinIO&reg; Client image repository | `bitnami/minio-client` |
| `clientImage.tag` | MinIO&reg; Client image tag (immutable tags are recommended) | `2022.5.9-debian-11-r0` |
| `mode` | MinIO&reg; server mode (`standalone` or `distributed`) | `standalone` |
| `auth.rootUser` | MinIO&reg; root username | `admin` |
| `auth.rootPassword` | Password for MinIO&reg; root user | `""` |
| `auth.existingSecret` | Use existing secret for credentials details (`auth.rootUser` and `auth.rootPassword` will be ignored and picked up from this secret). The secret has to contain the keys `root-user` and `root-password`) | `""` |
| `auth.forcePassword` | Force users to specify required passwords | `false` |
| `auth.useCredentialsFiles` | Mount credentials as a files instead of using an environment variable | `false` |
| `auth.forceNewKeys` | Force root credentials (user and password) to be reconfigured every time they change in the secrets | `false` |
| `defaultBuckets` | Comma, semi-colon or space separated list of buckets to create at initialization (only in standalone mode) | `""` |
| `disableWebUI` | Disable MinIO&reg; Web UI | `false` |
| `tls.enabled` | Enable tls in front of the container | `false` |
| `tls.autoGenerated` | Generate automatically self-signed TLS certificates | `false` |
| `tls.existingSecret` | Name of an existing secret holding the certificate information | `""` |
| `tls.mountPath` | The mount path where the secret will be located | `""` |
| `extraEnvVars` | Extra environment variables to be set on MinIO&reg; container | `{}` |
| `extraEnvVarsCM` | ConfigMap with extra environment variables | `""` |
| `extraEnvVarsSecret` | Secret with extra environment variables | `""` |
| `command` | Default container command (useful when using custom images). Use array form | `[]` |
| `args` | Default container args (useful when using custom images). Use array form | `[]` |
### MinIO&reg; deployment/statefulset parameters
@@ -125,6 +125,7 @@ The command removes all the Kubernetes components associated with the chart and
| `provisioning.podAnnotations` | Provisioning Pod annotations. | `{}` |
| `provisioning.command` | Default provisioning container command (useful when using custom images). Use array form | `[]` |
| `provisioning.args` | Default provisioning container args (useful when using custom images). Use array form | `[]` |
| `provisioning.extraCommands` | Optionally specify extra list of additional commands for MinIO&reg; provisioning pod | `[]` |
| `provisioning.extraVolumes` | Optionally specify extra list of additional volumes for MinIO&reg; provisioning pod | `[]` |
| `provisioning.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for MinIO&reg; provisioning container | `[]` |
| `provisioning.resources.limits` | The resources limits for the container | `{}` |
@@ -255,7 +256,7 @@ The command removes all the Kubernetes components associated with the chart and
| `volumePermissions.enabled` | Enable init container that changes the owner and group of the persistent volume(s) mountpoint to `runAsUser:fsGroup` | `false` |
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
| `volumePermissions.image.repository` | Init container volume-permissions image repository | `bitnami/bitnami-shell` |
| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `10-debian-10-r442` |
| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `11-debian-11-r0` |
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` |
| `volumePermissions.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `volumePermissions.resources.limits` | Init container volume-permissions resource limits | `{}` |

View File

@@ -186,6 +186,10 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.provisioning.extraCommands }}
{{ join ";" .Values.provisioning.extraCommands | nindent 14 }};
{{- end }}
echo "End Minio provisioning";
{{- end }}
{{- if .Values.provisioning.args }}

View File

@@ -223,6 +223,9 @@ provisioning:
## @param provisioning.args Default provisioning container args (useful when using custom images). Use array form
##
args: []
## @param provisioning.extraCommands Optionally specify extra list of additional commands for MinIO&reg; provisioning pod
##
extraCommands: []
## @param provisioning.extraVolumes Optionally specify extra list of additional volumes for MinIO&reg; provisioning pod
##
extraVolumes: []