camera-event-broker/k8s/dev/deployment.yaml
Erki Aas 8183adc15e
All checks were successful
continuous-integration/drone Build is passing
Initial commit
2022-12-12 22:56:14 +02:00

49 lines
1.1 KiB
YAML

---
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'