Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ee88fd2e9 | |||
| 3d08d4b1e3 | |||
| 0c2bde824f | |||
| 38488999b9 | |||
| 231a6acbd7 | |||
| d7aba60eb3 |
@@ -1,5 +1,5 @@
|
||||
variables:
|
||||
HELM_CHART_VERSION: "0.8.7"
|
||||
HELM_CHART_VERSION: "0.0.3"
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: cloudypress
|
||||
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
|
||||
type: application
|
||||
version: "0.8.7"
|
||||
version: "0.0.2"
|
||||
appVersion: "6.2.0"
|
||||
|
||||
@@ -28,7 +28,7 @@ data:
|
||||
SMTP_FROM_NAME: "V3 Customer Mailer"
|
||||
{{- end }}
|
||||
|
||||
WP_ENV: "production"
|
||||
WP_ENV: "{{ .Values.site.env | default "production" }}"
|
||||
{{- if .Values.site.overrideMainUrl }}
|
||||
WP_HOME: "https://{{ .Values.site.overrideMainUrl }}"
|
||||
{{- else }}
|
||||
@@ -151,13 +151,13 @@ data:
|
||||
{{- if and .Values.global .Values.global.php }}
|
||||
"expose_php": "{{ .Values.global.php.exposePHP | default "Off" }}",
|
||||
"short_open_tag": "{{ .Values.global.php.shortOpenTag | default "Off" }}",
|
||||
"disable_functions": "{{ .Values.global.php.disableFunctions | default "exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source" }}",
|
||||
"disable_functions": "{{ .Values.global.php.disableFunctions | default "exec,passthru,shell_exec,system,proc_open,popen,show_source" }}",
|
||||
"log_errors": "{{ .Values.global.php.logErrors | default "On" }}",
|
||||
"date.timezone": "{{ .Values.customer.timezone | default "Europe/Stockholm" }}",
|
||||
{{- else }}
|
||||
"expose_php": "Off",
|
||||
"short_open_tag": "Off",
|
||||
"disable_functions": "exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source",
|
||||
"disable_functions": "exec,passthru,shell_exec,system,proc_open,popen,show_source",
|
||||
"log_errors": "On",
|
||||
{{- end }}
|
||||
{{- if .Values.global.php.adminValues }}
|
||||
|
||||
@@ -35,4 +35,4 @@ spec:
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
|
||||
volumeMode: Filesystem
|
||||
---
|
||||
---
|
||||
|
||||
@@ -19,4 +19,4 @@ spec:
|
||||
|
||||
{{- if and .Values.site .Values.site.storage .Values.site.storage.cloud }}
|
||||
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -37,6 +37,8 @@ email: {}
|
||||
|
||||
# Website Configuration
|
||||
site:
|
||||
env: "development"
|
||||
|
||||
# The main URL for the website
|
||||
url: "www.mycustomer.com"
|
||||
|
||||
@@ -46,7 +48,7 @@ site:
|
||||
|
||||
# Create sites with another main domain for WP,
|
||||
# but the rest of the components named according to site-tld
|
||||
# overrideMainUrl: ""
|
||||
overrideMainUrl: ""
|
||||
|
||||
# Whether to keep plugins and Wordpress updated
|
||||
autoUpdate: 'true'
|
||||
@@ -133,7 +135,7 @@ global:
|
||||
limitExtensions: ".php"
|
||||
exposePHP: "Off"
|
||||
shortOpenTag": "Off"
|
||||
disableFunctions: "exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source"
|
||||
disableFunctions: "exec,passthru,shell_exec,system,proc_open,popen,show_source"
|
||||
logErrors: "On"
|
||||
|
||||
adminValues:
|
||||
|
||||
Reference in New Issue
Block a user