diff --git a/charts/uc1-workload/Chart.yaml b/charts/uc1-workload/Chart.yaml index 5bde898..a34b99c 100644 --- a/charts/uc1-workload/Chart.yaml +++ b/charts/uc1-workload/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.0.0" description: A Helm chart for UC1 Workload name: mef-sog-uc1-wl -version: 1.0.2 +version: 1.0.3 diff --git a/charts/uc1-workload/templates/deployment.yaml b/charts/uc1-workload/templates/deployment.yaml index 2e027ec..2394a6f 100644 --- a/charts/uc1-workload/templates/deployment.yaml +++ b/charts/uc1-workload/templates/deployment.yaml @@ -25,7 +25,9 @@ spec: cpu: '1' imagePullPolicy: IfNotPresent ports: - - containerPort: {{ .Values.scheduledClient.service.port }} + - name: http + containerPort: {{ .Values.scheduledClient.service.port }} + protocol: TCP env: - name: SPRING_KAFKA_ENABLED value: 'true' diff --git a/charts/uc1-workload/templates/service.yaml b/charts/uc1-workload/templates/service.yaml index d7981f1..4502132 100644 --- a/charts/uc1-workload/templates/service.yaml +++ b/charts/uc1-workload/templates/service.yaml @@ -11,6 +11,7 @@ spec: - port: {{ .Values.scheduledClient.service.port }} targetPort: {{ .Values.scheduledClient.service.targetPort }} protocol: TCP + name: http {{ if (and (eq .Values.scheduledClient.service.type "NodePort") (not (empty .Values.scheduledClient.service.nodePort))) }} nodePort: {{.Values.scheduledClient.service.nodePort }} {{ end }}