Restructure yaml, add CI/CD pipelines
This commit is contained in:
parent
fc1bf0bb9a
commit
fd7d99d29a
31 changed files with 771 additions and 543 deletions
42
manifests/minio/deployment.yaml
Normal file
42
manifests/minio/deployment.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: minio
|
||||
namespace: darkdork-dev
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: minio
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: minio
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: registry-credentials
|
||||
containers:
|
||||
- name: minio
|
||||
image: minio/minio
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
- containerPort: 9001
|
||||
env:
|
||||
- name: MINIO_ROOT_USER
|
||||
value: red
|
||||
- name: MINIO_ROOT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: minio
|
||||
key: root-password
|
||||
args: ["server", "/data", "--console-address", ":9001"]
|
||||
volumeMounts:
|
||||
- name: minio-data-volume
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: minio-data-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: minio-pvc
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue