Skip to content

Commit

Permalink
EVEREST-1461 - Change test MinIO from Pod to Deployment (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
tplavcic committed Sep 12, 2024
1 parent c703f87 commit 38850c2
Showing 1 changed file with 42 additions and 33 deletions.
75 changes: 42 additions & 33 deletions .github/minio.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,54 @@ spec:
requests:
storage: 5Gi
---
apiVersion: v1
kind: Pod
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: minio
name: minio
namespace: minio
spec:
containers:
- name: minio
image: quay.io/minio/minio:latest
command:
- /bin/bash
- -c
args:
- minio server /data --console-address :9090
volumeMounts:
- mountPath: /data
name: minio-data-vol
- mountPath: /root/.minio/certs
name: minio-cert
initContainers:
- name: init-minio
image: busybox
command:
- /bin/sh
- -c
args:
- mkdir -p /data/bucket-1 /data/bucket-2 /data/bucket-3 /data/bucket-4
volumeMounts:
- mountPath: /data
name: minio-data-vol
volumes:
- name: minio-data-vol
persistentVolumeClaim:
claimName: minio-data
- name: minio-cert
secret:
secretName: minio-cert
replicas: 1
selector:
matchLabels:
app: minio
template:
metadata:
labels:
app: minio
spec:
containers:
- name: minio
image: quay.io/minio/minio:latest
command:
- /bin/bash
- -c
args:
- minio server /data --console-address :9090
volumeMounts:
- mountPath: /data
name: minio-data-vol
- mountPath: /root/.minio/certs
name: minio-cert
initContainers:
- name: init-minio
image: busybox
command:
- /bin/sh
- -c
args:
- mkdir -p /data/bucket-1 /data/bucket-2 /data/bucket-3 /data/bucket-4
volumeMounts:
- mountPath: /data
name: minio-data-vol
volumes:
- name: minio-data-vol
persistentVolumeClaim:
claimName: minio-data
- name: minio-cert
secret:
secretName: minio-cert
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 38850c2

Please sign in to comment.