Skip to content

Commit

Permalink
feat(k8s): add mysql service port
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Apr 14, 2023
1 parent e34766b commit fcf36f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions helm-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ spec:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 3306
name: mysql
protocol: TCP

volumeMounts:
- name: {{ .Release.Name }}-site
Expand Down
5 changes: 4 additions & 1 deletion helm-chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ spec:
{{- include "site.selectorLabels" . | nindent 6 }}
ports:
- name: http
port: {{ .Values.services.http.port }}
port: 80
protocol: TCP
- name: mysql
port: 3306
protocol: TCP
6 changes: 0 additions & 6 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ volumes:
site: ~
database: ~

services:
http:
port: 80
# mysql:
# port: 3306

ingress:
enabled: false
annotations:
Expand Down

0 comments on commit fcf36f6

Please sign in to comment.