[stable/mediawiki] Allow configuration of svc spec.loadBalancerIP (#5412)

* Allow configuration of svc spec.loadBalancerIP

* Bump version number
This commit is contained in:
Joe Taylor
2018-05-07 03:25:50 -07:00
committed by k8s-ci-robot
parent 6266b3baea
commit 36e3128973
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mediawiki
version: 1.0.2
version: 1.0.3
appVersion: 1.30.0
description: Extremely powerful, scalable software and a feature-rich wiki implementation
that uses PHP to process and display data stored in a database.
+3
View File
@@ -9,6 +9,9 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.serviceType }}
{{ if .Values.serviceLoadBalancerIP -}}
loadBalancerIP: {{ .Values.serviceLoadBalancerIP }}
{{ end -}}
ports:
- name: http
port: 80
+4
View File
@@ -117,7 +117,11 @@ mariadb:
## Kubernetes configuration
## For minikube, set this to NodePort, elsewhere use LoadBalancer
##
## Use serviceLoadBalancerIP to request a specific static IP,
## otherwise leave blank
##
serviceType: LoadBalancer
# serviceLoadBalancerIP:
## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/