Added so nodePort can be specifed (#3936)

* Added so nodePort can be specifed

* added required space between hash and word
This commit is contained in:
Marcus Johansson
2018-03-01 09:00:06 -08:00
committed by k8s-ci-robot
parent 22e4fb83e0
commit b20eac706a
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mysql
version: 0.3.4
version: 0.3.5
description: Fast, reliable, scalable, and easy to use open-source relational database
system.
keywords:
+3
View File
@@ -13,5 +13,8 @@ spec:
- name: mysql
port: {{ .Values.service.port }}
targetPort: mysql
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
app: {{ template "mysql.fullname" . }}
+1
View File
@@ -78,3 +78,4 @@ service:
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
type: ClusterIP
port: 3306
# nodePort: 32000