diff --git a/stable/ghost/Chart.yaml b/stable/ghost/Chart.yaml index ac07eac07d..9dfcb20027 100644 --- a/stable/ghost/Chart.yaml +++ b/stable/ghost/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: ghost -version: 6.5.3 +version: 6.6.0 appVersion: 2.18.1 description: A simple, powerful publishing platform that allows you to share your stories with the world keywords: diff --git a/stable/ghost/README.md b/stable/ghost/README.md index 62465c5d23..e341244b9f 100644 --- a/stable/ghost/README.md +++ b/stable/ghost/README.md @@ -89,6 +89,7 @@ The following table lists the configurable parameters of the Ghost chart and the | `ingress.hosts[0].name` | Hostname to your Ghost installation | `ghost.local` | | `ingress.hosts[0].path` | Path within the url structure | `/` | | `ingress.hosts[0].tls` | Utilize TLS backend in ingress | `false` | +| `ingress.hosts[0].tlsHosts` | Array of TLS hosts for ingress record (defaults to `ingress.hosts[0].name` if `nil`) | `nil` | | `ingress.hosts[0].tlsSecret` | TLS Secret (certificates) | `ghost.local-tls-secret` | | `ingress.secrets[0].name` | TLS Secret Name | `nil` | | `ingress.secrets[0].certificate` | TLS Secret Certificate | `nil` | diff --git a/stable/ghost/templates/ingress.yaml b/stable/ghost/templates/ingress.yaml index 56eb1c7798..a08bfc8404 100644 --- a/stable/ghost/templates/ingress.yaml +++ b/stable/ghost/templates/ingress.yaml @@ -30,7 +30,13 @@ spec: {{- range .Values.ingress.hosts }} {{- if .tls }} - hosts: + {{- if .tlsHosts }} + {{- range $host := .tlsHosts }} + - {{ $host }} + {{- end }} + {{- else }} - {{ .name }} + {{- end }} secretName: {{ .tlsSecret }} {{- end }} {{- end }} diff --git a/stable/ghost/values.yaml b/stable/ghost/values.yaml index 2d142d3285..5a046c86ba 100644 --- a/stable/ghost/values.yaml +++ b/stable/ghost/values.yaml @@ -231,6 +231,13 @@ ingress: ## Set this to true in order to enable TLS on the ingress record tls: false + ## Optionally specify the TLS hosts for the ingress record + ## Useful when the Ingress controller supports www-redirection + ## If not specified, the above host name will be used + # tlsHosts: + # - www.ghost.local + # - ghost.local + ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS tlsSecret: ghost.local-tls