Change CDN to assign static IP for S1U interface
Change-Id: I1493cdd7c89a0bc86a47f631e91ad79863fb2a11
diff --git a/cdn-services/cdn-local/templates/nginx.yaml b/cdn-services/cdn-local/templates/nginx.yaml
index 8b97592..05cc691 100644
--- a/cdn-services/cdn-local/templates/nginx.yaml
+++ b/cdn-services/cdn-local/templates/nginx.yaml
@@ -43,12 +43,10 @@
app: nginx-rtmp
annotations:
k8s.v1.cni.cncf.io/networks: '[
- { "name": "sgi-net-nd", "interface": "sgi-net-nd" }
+ { "name": "sgi-net-nd", "interface": "sgi-net-nd", "ips": {{ .Values.networks.sgi_net_nd.ip | quote }} }
]'
spec:
#hostNetwork: true
- nodeSelector:
-{{ toYaml .Values.nginx.nodeselector | indent 8 }}
terminationGracePeriodSeconds: 0
imagePullSecrets:
- name: nexus-docker-secret
@@ -104,4 +102,4 @@
- key: nginx.conf
path: nginx.conf
- name: shared-volume
- emptyDir: {}
\ No newline at end of file
+ emptyDir: {}