Commit f816a1cc authored by 徐泽意's avatar 徐泽意

更新相关配置

parent ce89e8a9
...@@ -9,11 +9,8 @@ metadata: ...@@ -9,11 +9,8 @@ metadata:
versoin: {{ .Values.usmaApi.image.tag }} versoin: {{ .Values.usmaApi.image.tag }}
spec: spec:
ports: ports:
- name: "usma-api" - name: usma-api
protocol: "TCP"
port: 80 port: 80
targetPort: 8080 targetPort: 8080
selector: selector:
app: usma-api app: usma-api
\ No newline at end of file
type: ClusterIP
sessionAffinity: None
...@@ -33,7 +33,7 @@ spec: ...@@ -33,7 +33,7 @@ spec:
{{- end }} {{- end }}
imagePullPolicy: "{{ .Values.global.imagePullPolicy }}" imagePullPolicy: "{{ .Values.global.imagePullPolicy }}"
ports: ports:
- containerPort: 80 - containerPort: 8080
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- name: localtime - name: localtime
......
...@@ -12,6 +12,6 @@ spec: ...@@ -12,6 +12,6 @@ spec:
services: services:
- kind: Service - kind: Service
name: usma-login name: usma-login
port: 80 port: 8080
tls: tls:
certResolver: default certResolver: default
...@@ -5,13 +5,13 @@ metadata: ...@@ -5,13 +5,13 @@ metadata:
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
{{ include "usma-login.labels" . | indent 4 }} {{ include "usma-login.labels" . | indent 4 }}
app: auto-ui app: usma-login
versoin: {{ .Values.usmaLogin.image.tag }} versoin: {{ .Values.usmaLogin.image.tag }}
spec: spec:
ports: ports:
- name: usma-login - name: usma-login
protocol: TCP protocol: TCP
port: 80 port: 8080
targetPort: 8080 targetPort: 8080
selector: selector:
app: usma-login app: usma-login
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment