Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bitnami/minio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ maintainers:
name: minio
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/minio
version: 13.4.5
version: 13.4.6
7 changes: 4 additions & 3 deletions bitnami/minio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,10 @@ MinIO® exports Prometheus metrics at `/minio/v2/metrics/cluster`. To allow P

## Persistence

The [Bitnami Object Storage based on MinIO(®)](https://github.com/bitnami/containers/tree/main/bitnami/minio) image stores data at the `/data` path of the container.
The [Bitnami Object Storage based on MinIO(®)](https://github.com/bitnami/containers/tree/main/bitnami/minio) image stores data at the `/bitnami/minio/data` path of the container by default.
This can be modified with the `persistence.mountPath` value which modifies the `MINIO_DATA_DIR` environment variable of the container.

The chart mounts a [Persistent Volume](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) at this location. The volume is created using dynamic volume provisioning.
The chart mounts a [Persistent Volume](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) at this location so that data within MinIO is persistent. The volume is created using dynamic volume provisioning.

### Adjust permissions of persistent volume mountpoint

Expand Down Expand Up @@ -602,4 +603,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 2 additions & 0 deletions bitnami/minio/templates/distributed/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ spec:
- name: MINIO_CONSOLE_PORT_NUMBER
value: {{ .Values.containerPorts.console | quote }}
{{- end }}
- name: MINIO_DATA_DIR
value: {{ $mountPath | quote }}
{{- if .Values.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions bitnami/minio/templates/standalone/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ spec:
- name: MINIO_CERTS_DIR
value: {{ .Values.tls.mountPath | quote }}
{{- end }}
{{- if .Values.persistence.mountPath }}
- name: MINIO_DATA_DIR
value: {{ .Values.persistence.mountPath | quote }}
{{- end }}
{{- if .Values.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
Expand Down