diff --git a/helm-chart/templates/deployment.yaml b/helm-chart/templates/deployment.yaml index 53662e3f..c0ec5fb8 100644 --- a/helm-chart/templates/deployment.yaml +++ b/helm-chart/templates/deployment.yaml @@ -115,6 +115,9 @@ spec: - containerPort: 80 name: http protocol: TCP + - containerPort: 3306 + name: mysql + protocol: TCP volumeMounts: - name: {{ .Release.Name }}-site diff --git a/helm-chart/templates/service.yaml b/helm-chart/templates/service.yaml index 5f88de29..ad320b47 100644 --- a/helm-chart/templates/service.yaml +++ b/helm-chart/templates/service.yaml @@ -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 diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index fcb6970b..9a5de97d 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -38,12 +38,6 @@ volumes: site: ~ database: ~ -services: - http: - port: 80 - # mysql: - # port: 3306 - ingress: enabled: false annotations: