summaryrefslogtreecommitdiff
path: root/templates/default/kubernetes/flumotion-worker-svc.yml.j2
blob: 5d66b8f78680f5bf4b33ecc02d15c2c51cdd1bec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: v1
kind: Service
metadata:
  namespace: {{ deploy.namespace }}
  name: flumotion-worker-{{ deploy.worker.name }}
  labels:
    app: flumotion
    type: worker
    worker: {{ deploy.worker.name }}
spec:
  selector:
    app: flumotion
    type: worker
    worker: {{ deploy.worker.name }}
  ports:
%% for port in deploy.worker.flags.port
  - port: {{ port }}
%% endfor