feat(wordpress): Add https + reverse-proxy (#5179)

* feat(wordpress): Add https + reverse-proxy

* add enum

* conflict

* remove enable https

* Update charts/incubator/wordpress/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* no upgrade

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
StevenMcElligott 2022-12-07 03:43:39 -05:00 committed by GitHub
parent 93cd388e43
commit 6ac42db232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View File

@ -24,7 +24,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/wordpress
- https://hub.docker.com/_/wordpress
- https://www.wordpress.org
version: 0.0.5
version: 1.0.0
annotations:
truecharts.org/catagories: |
- website

View File

@ -59,6 +59,12 @@ questions:
type: string
required: true
default: Truecharts Blog
- variable: enable_reverse_proxy_headers
label: Wordpress Reverse Proxy Headers Support
description: Enable WordPress support for reverse proxy headers
schema:
type: boolean
default: true
- variable: smtp
group: App Configuration
label: SMTP Configuration

View File

@ -23,6 +23,7 @@ data:
WORDPRESS_FIRST_NAME: {{ .Values.wordpress.first_name | quote }}
WORDPRESS_LAST_NAME: {{ .Values.wordpress.last_name | quote }}
WORDPRESS_BLOG_NAME: {{ .Values.wordpress.blog_name | quote }}
WORDPRESS_ENABLE_REVERSE_PROXY: {{ ternary "yes" "no" .Values.wordpress.enable_reverse_proxy_headers | quote }}
{{- if .Values.smtp.enabled }}
WORDPRESS_SMTP_HOST: {{ .Values.smtp.host | quote }}

View File

@ -16,6 +16,7 @@ wordpress:
first_name: TrueCharts
last_name: TrueCharts
blog_name: Truecharts Blog
enable_reverse_proxy_headers: true
smtp:
enabled: false