This commit is contained in:
48
k8s/dev/deployment.yaml
Normal file
48
k8s/dev/deployment.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
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'
|
Reference in New Issue
Block a user