|
@ -45,3 +45,36 @@ spec: |
|
|
name: minio |
|
|
name: minio |
|
|
command: ["minio"] |
|
|
command: ["minio"] |
|
|
args: ["server", "/data"] |
|
|
args: ["server", "/data"] |
|
|
|
|
|
livenessProbe: |
|
|
|
|
|
httpGet: |
|
|
|
|
|
path: /minio/health/live |
|
|
|
|
|
port: 9000 |
|
|
|
|
|
scheme: HTTP |
|
|
|
|
|
initialDelaySeconds: 120 |
|
|
|
|
|
periodSeconds: 15 |
|
|
|
|
|
timeoutSeconds: 10 |
|
|
|
|
|
successThreshold: 1 |
|
|
|
|
|
failureThreshold: 3 |
|
|
|
|
|
{{ if .Values.persistence.enabled }} |
|
|
|
|
|
volumeMounts: |
|
|
|
|
|
- name: minio-data |
|
|
|
|
|
mountPath: /data |
|
|
|
|
|
volumes: |
|
|
|
|
|
- name: minio-data |
|
|
|
|
|
persistentVolumeClaim: |
|
|
|
|
|
claimName: minio-pvc-{{ .Release.Name }} |
|
|
|
|
|
--- |
|
|
|
|
|
apiVersion: v1 |
|
|
|
|
|
kind: PersistentVolumeClaim |
|
|
|
|
|
metadata: |
|
|
|
|
|
name: minio-pvc-{{ .Release.Name }} |
|
|
|
|
|
labels: |
|
|
|
|
|
{{- include "covidok.labels" . | nindent 4 }} |
|
|
|
|
|
spec: |
|
|
|
|
|
storageClassName: {{ .Values.persistence.storageClass }} |
|
|
|
|
|
accessModes: |
|
|
|
|
|
- ReadWriteOnce |
|
|
|
|
|
resources: |
|
|
|
|
|
requests: |
|
|
|
|
|
storage: {{ .Values.persistence.claimSize }} |
|
|
|
|
|
{{ end }} |
|
|