camera-event-broker/k8s/dev/deployment.yaml

49 lines
1.1 KiB
YAML
Raw Normal View History

2022-12-12 20:56:14 +00:00
---
apiVersion: v1
kind: Service
metadata:
name: camtiler-event-broker
spec:
type: ClusterIP
selector:
app: camtiler-event-broker
ports:
- protocol: TCP
port: 80
targetPort: 3000
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: camtiler-event-broker
spec:
selector:
matchLabels:
app: camtiler-event-broker
template:
metadata:
labels:
app: camtiler-event-broker
spec:
containers:
- name: camtiler-event-broker
image: harbor.k-space.ee/playground/camtiler-event-broker
ports:
- containerPort: 3000
env:
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: minio-access-secret
key: secret
- name: AWS_ACCESS_KEY_ID
value: 'eventsource'
- name: MINIO_BUCKET
value: 'application'
- name: MINIO_HOSTNAME
value: 'cams-s3.k-space.ee'
- name: MINIO_PORT
value: '443'
- name: MINIO_SCHEMA
value: 'https'