summaryrefslogtreecommitdiffstats
path: root/src/helm-charts/clearwater/templates/bono-svc.yaml
diff options
context:
space:
mode:
authorLaura Sofia Enriquez <lsofia.enriquez@gmail.com>2018-02-25 05:11:43 -0300
committerLaura Sofia Enriquez <lsofia.enriquez@gmail.com>2018-03-05 19:50:08 -0300
commita4d56a2976e665857df1186c66202f590027d6a7 (patch)
tree4db6165f062f633d20949f6ffeab9c75ba84b1f3 /src/helm-charts/clearwater/templates/bono-svc.yaml
parente5723d276fa8861f863637917af689ce4eeae5a2 (diff)
Istio implementation for clearwater chart
1. Services ports renamed. 2. Added label 'app' inside all the deployment's yamls. . README.md added with configuration information. JIRA: CLOVER-3 JIRA: CONTAINER-22 Change-Id: I4c58b9ad6b5e0e598ad6a152f58c8afad084a805 Signed-off-by: Laura Sofia Enriquez <lsofia.enriquez@gmail.com>
Diffstat (limited to 'src/helm-charts/clearwater/templates/bono-svc.yaml')
-rw-r--r--src/helm-charts/clearwater/templates/bono-svc.yaml19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/helm-charts/clearwater/templates/bono-svc.yaml b/src/helm-charts/clearwater/templates/bono-svc.yaml
index a63479d..3b3da5c 100644
--- a/src/helm-charts/clearwater/templates/bono-svc.yaml
+++ b/src/helm-charts/clearwater/templates/bono-svc.yaml
@@ -3,14 +3,25 @@ kind: Service
metadata:
name: bono
spec:
+ externalIPs:
+ - {{ .Values.config.ip }}
loadBalancerIP: {{ .Values.config.ip }}
- type: LoadBalancer
ports:
- - name: "3478"
+ - name: "tcp-3478"
port: 3478
- - name: "5060"
+ protocol: TCP
+ targetPort: 3478
+ - name: "tcp-5060"
port: 5060
- - name: "5062"
+ protocol: TCP
+ targetPort: 5060
+ - name: "tcp-5062"
port: 5062
+ protocol: TCP
+ targetPort: 5062
selector:
service: bono
+ sessionAffinity: None
+ type: ClusterIP
+status:
+ loadBalancer: {}