diff --git a/templates/usma-api/service.yaml b/templates/usma-api/service.yaml index b1c222da3466f5c2921a2cb641f4a8988e598bb3..7a1ecb3df6b4620da66c3d6303d80a98de972aa5 100644 --- a/templates/usma-api/service.yaml +++ b/templates/usma-api/service.yaml @@ -9,11 +9,8 @@ metadata: versoin: {{ .Values.usmaApi.image.tag }} spec: ports: - - name: "usma-api" - protocol: "TCP" + - name: usma-api port: 80 targetPort: 8080 selector: - app: usma-api - type: ClusterIP - sessionAffinity: None + app: usma-api \ No newline at end of file diff --git a/templates/usma-login/ui/deployment.yaml b/templates/usma-login/ui/deployment.yaml index 16ecabd6e40719bec29d1cad632f0e6182265a59..e8ff8a35dc14fb3d2932cf86d1b8ec75899c5ee4 100644 --- a/templates/usma-login/ui/deployment.yaml +++ b/templates/usma-login/ui/deployment.yaml @@ -33,7 +33,7 @@ spec: {{- end }} imagePullPolicy: "{{ .Values.global.imagePullPolicy }}" ports: - - containerPort: 80 + - containerPort: 8080 protocol: TCP volumeMounts: - name: localtime diff --git a/templates/usma-login/ui/ingressroute.yaml b/templates/usma-login/ui/ingressroute.yaml index 6052688c0d44ed6af5e53d01d9e3bb962d31544f..97227c57c5bd555523a7739220969deaffde1f2e 100644 --- a/templates/usma-login/ui/ingressroute.yaml +++ b/templates/usma-login/ui/ingressroute.yaml @@ -12,6 +12,6 @@ spec: services: - kind: Service name: usma-login - port: 80 + port: 8080 tls: certResolver: default diff --git a/templates/usma-login/ui/service.yaml b/templates/usma-login/ui/service.yaml index df638dc71ea61b73062d496fff4e920f9b8e66df..1e9c710b28f4503fa9231956f712774c85fcb2fd 100644 --- a/templates/usma-login/ui/service.yaml +++ b/templates/usma-login/ui/service.yaml @@ -5,13 +5,13 @@ metadata: namespace: {{ .Release.Namespace }} labels: {{ include "usma-login.labels" . | indent 4 }} - app: auto-ui + app: usma-login versoin: {{ .Values.usmaLogin.image.tag }} spec: ports: - name: usma-login protocol: TCP - port: 80 + port: 8080 targetPort: 8080 selector: app: usma-login