From 89f60d72adf32a1025637e9656f8069cc032a72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Fri, 23 Nov 2018 12:25:28 +0100 Subject: [PATCH] [stable/ghost] Fix readme and svc (#9506) * Fix readme and svc Signed-off-by: Javier J. Salmeron Garcia * Bump chart Signed-off-by: Javier J. Salmeron Garcia --- stable/ghost/Chart.yaml | 2 +- stable/ghost/README.md | 1 + stable/ghost/templates/svc.yaml | 3 +++ stable/ghost/values.yaml | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stable/ghost/Chart.yaml b/stable/ghost/Chart.yaml index ef5cdd6735..eac158a6b3 100644 --- a/stable/ghost/Chart.yaml +++ b/stable/ghost/Chart.yaml @@ -1,5 +1,5 @@ name: ghost -version: 6.0.0 +version: 6.1.0 appVersion: 2.6.0 description: A simple, powerful publishing platform that allows you to share your stories with the world diff --git a/stable/ghost/README.md b/stable/ghost/README.md index 7b16b273de..3375a72fcc 100644 --- a/stable/ghost/README.md +++ b/stable/ghost/README.md @@ -74,6 +74,7 @@ The following table lists the configurable parameters of the Ghost chart and the | `service.port` | Service HTTP port | `80` | | `service.nodePorts.http` | Kubernetes http node port | `""` | | `service.externalTrafficPolicy` | Enable client source IP preservation | `Cluster` | +| `service.loadBalancerIP` | LoadBalancerIP for the Ghost service | `` | | `ingress.enabled` | Enable ingress controller resource | `false` | | `ingress.hosts[0].name` | Hostname to your Ghost installation | `ghost.local` | | `ingress.hosts[0].path` | Path within the url structure | `/` | diff --git a/stable/ghost/templates/svc.yaml b/stable/ghost/templates/svc.yaml index 2cfcf9801a..17c4deea3e 100644 --- a/stable/ghost/templates/svc.yaml +++ b/stable/ghost/templates/svc.yaml @@ -12,6 +12,9 @@ spec: {{- if (or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort")) }} externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | quote }} {{- end }} + {{- if eq .Values.service.type "LoadBalancer" }} + loadBalancerIP: {{ default "" .Values.service.loadBalancerIP | quote }} + {{- end }} ports: - name: http port: {{ .Values.service.port }} diff --git a/stable/ghost/values.yaml b/stable/ghost/values.yaml index a9a5a3101e..bce6b131f4 100644 --- a/stable/ghost/values.yaml +++ b/stable/ghost/values.yaml @@ -146,6 +146,7 @@ service: type: LoadBalancer # HTTP Port port: 80 + ## loadBalancerIP: ## ## nodePorts: ## http: