Change-Id: I1e0a4a44f1d5ec540e2c8cffa9ff42e8a106233f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
EXPOSE 9998
-CMD ["uvicorn", "osm_webhook_translator.main:app", "--host", "0.0.0.0", "--port", "80"]
-
+CMD ["uvicorn", "osm_webhook_translator.main:app", "--host", "0.0.0.0", "--port", "9998"]
type: {{ .Values.webhookTranslator.service.type }}
ports:
- nodePort: {{ .Values.webhookTranslator.service.nodePort }}
- port: 80
- targetPort: 80
+ port: {{ .Values.webhookTranslator.service.port }}
+ targetPort: 9998
protocol: TCP
selector:
app.kubernetes.io/component: webhook-translator
service:
type: NodePort
nodePort: 9998
+ port: 9998
image: {}
# repository: opensourcemano/webhook
# tag: "13"
- name: default-receiver
- name: vdu-webhook
webhook_configs:
- - url: http://webhook-translator/vdu_down
+ - url: http://webhook-translator:9998/vdu_down
- name: scaleout-webhook
webhook_configs:
- - url: http://webhook-translator/scaleout_vdu
+ - url: http://webhook-translator:9998/scaleout_vdu
- name: scalein-webhook
webhook_configs:
- - url: http://webhook-translator/scalein_vdu
+ - url: http://webhook-translator:9998/scalein_vdu
- name: alarm-webhook
webhook_configs:
- - url: http://webhook-translator/vdu_alarm
+ - url: http://webhook-translator:9998/vdu_alarm
route:
group_wait: 10s
group_interval: 2m