You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
sapian-app: voe-gcs-s3
name: voe-gcs-s3
spec:
selector:
matchLabels:
sapian-app: voe-gcs-s3
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
sapian-app: voe-gcs-s3
spec:
containers:
- image: minio/minio:RELEASE.2022-02-26T02-54-46Z
name: voe-gcs-s3
args:
- gateway
- gcs
- ccoe-246623
env:
- name: MINIO_SECRET_KEY
value: eethieHuNi6naif7wei7wee0ChaoHaeha3ahfahshe2uqu7lathaish7ieRiezi4
- name: MINIO_ACCESS_KEY
value: voe-01-gcp-main-sotorage
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/voe-gcs-s3/ccoe-246623-3ccb3bb32c58.json
ports:
- name: http
containerPort: 9000
protocol: TCP
volumeMounts:
- mountPath: /etc/voe-gcs-s3/
readOnly: true
name: ccoe-246623-3ccb3bb32c58
resources: {}
restartPolicy: Always
volumes:
- name: ccoe-246623-3ccb3bb32c58
secret:
secretName: ccoe-246623-3ccb3bb32c58
items:
- key: ccoe-246623-3ccb3bb32c58.json
path: ccoe-246623-3ccb3bb32c58.json