X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fhelm%2Fosm%2Ftemplates%2Fwebhook_translator%2Fwebhook-translator-service.yaml;fp=installers%2Fhelm%2Fosm%2Ftemplates%2Fwebhook_translator%2Fwebhook-translator-service.yaml;h=11d250813d804b972f1323bcd71c60ff1f5e3483;hb=18582e9176d2d4a07d4628fc0db7c6221613c4f2;hp=0fb1d8eba87e00d78a0d61c571dcabdd6d6d3558;hpb=7870d172322963e22c1cf04558768d3d8103fffa;p=osm%2Fdevops.git diff --git a/installers/helm/osm/templates/webhook_translator/webhook-translator-service.yaml b/installers/helm/osm/templates/webhook_translator/webhook-translator-service.yaml index 0fb1d8eb..11d25081 100644 --- a/installers/helm/osm/templates/webhook_translator/webhook-translator-service.yaml +++ b/installers/helm/osm/templates/webhook_translator/webhook-translator-service.yaml @@ -23,10 +23,12 @@ metadata: labels: {{- include "osm.labels" . | nindent 4 }} spec: - type: {{ .Values.webhookTranslator.service.type }} + type: {{ default "ClusterIP" .Values.webhookTranslator.service.type }} ports: - - nodePort: {{ .Values.webhookTranslator.service.nodePort }} - port: {{ .Values.webhookTranslator.service.port }} + - port: {{ default 9998 .Values.webhookTranslator.service.port }} + {{- if .Values.webhookTranslator.service.nodePort }} + nodePort: {{ .Values.webhookTranslator.service.nodePort }} + {{- end }} targetPort: 9998 protocol: TCP selector: