Skip to content

Commit

Permalink
test: syncronizing app, pod, svc port
Browse files Browse the repository at this point in the history
  • Loading branch information
Lim-Changi committed Mar 17, 2024
1 parent 2ed8668 commit af9baab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devops/k8s/acon-k8s/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions .devops/k8s/acon-k8s/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 80
- port: 80
targetPort: {{ .Values.service.port }}
protocol: TCP
name: http
selector:
Expand Down

0 comments on commit af9baab

Please sign in to comment.