diff options
Diffstat (limited to 'templates/default/kubernetes/nginx-streamer-svc.yml.j2')
-rw-r--r-- | templates/default/kubernetes/nginx-streamer-svc.yml.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/default/kubernetes/nginx-streamer-svc.yml.j2 b/templates/default/kubernetes/nginx-streamer-svc.yml.j2 index 9be5ed7..1da952f 100644 --- a/templates/default/kubernetes/nginx-streamer-svc.yml.j2 +++ b/templates/default/kubernetes/nginx-streamer-svc.yml.j2 @@ -2,15 +2,15 @@ apiVersion: v1 kind: Service metadata: namespace: {{ namespace }} - name: nginx-streamer-{{ worker.name }} + name: nginx-streamer-{{ deploy.worker.name }} labels: app: nginx type: streamer - worker: {{ worker.name }} + worker: {{ deploy.worker.name }} spec: selector: app: nginx type: streamer - worker: {{ worker.name }} + worker: {{ deploy.worker.name }} ports: - - port: {{ desc.streams[worker.flags.stream].port }} + - port: {{ desc.streams[deploy.worker.flags.stream].port }} |