mariadb-cluster: allow users to specify the service type

This commit is contained in:
Sameer Naik
2017-10-13 15:33:43 +05:30
parent 894708c806
commit 1ffdf65f2c
3 changed files with 5 additions and 3 deletions
@@ -8,6 +8,7 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.serviceType }}
ports:
- name: mysql
port: 3306
@@ -8,6 +8,7 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.serviceType }}
ports:
- name: mysql
port: 3306
+3 -3
View File
@@ -9,6 +9,9 @@ image: bitnami/mariadb:10.1.22-r1
##
imagePullPolicy: IfNotPresent
## Kubernetes service type
serviceType: ClusterIP
## Desired number of slave Pods
##
numSlaves: 3
@@ -45,9 +48,6 @@ mariadbReplicationUser: my_replication_user
##
# mariadbReplicationPassword:
## Kubernetes service type
serviceType: ClusterIP
## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##