mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
k8s-ci-robot
parent
22e4fb83e0
commit
b20eac706a
@@ -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:
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
@@ -78,3 +78,4 @@ service:
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
|
||||
type: ClusterIP
|
||||
port: 3306
|
||||
# nodePort: 32000
|
||||
|
||||
Reference in New Issue
Block a user