summaryrefslogtreecommitdiff
path: root/templates/default/kubernetes/flumotion-worker-svc.yml.j2
blob: 62a7c77d5718f62740055e3952a61864e40d3d8a (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: {{ namespace }}
  name: flumotion-worker-{{ worker.name }}
  labels:
    app: flumotion
    type: worker
    worker: {{ worker.name }}
spec:
  selector:
    app: flumotion
    type: worker
    worker: {{ worker.name }}
  ports:
%% for port in worker.flags.port
  - port: {{ port }}
%% endfor