Added option to force theme name
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
variables:
|
||||
HELM_CHART_VERSION: "0.8.4"
|
||||
HELM_CHART_VERSION: "0.8.5"
|
||||
|
||||
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.4"
|
||||
version: "0.8.5"
|
||||
appVersion: "6.2.0"
|
||||
|
||||
@@ -39,13 +39,14 @@ data:
|
||||
RUN_COMPOSER: 'true'
|
||||
INSTALL_SITE: {{ .Values.site.init.composerPackage }}
|
||||
SET_THEME: {{ .Values.site.init.themeName | default "" }}
|
||||
FORCE_THEME_NAME: {{ .Values.site.forceThemeName | default "" }}
|
||||
{{- end }}
|
||||
|
||||
{{- if and .Values.site.init .Values.site.init.content .Values.site.init.content.import }}
|
||||
RUN_IMPORTS: 'true'
|
||||
IMPORT_CONTENT: {{ .Values.site.init.content.url }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{- if and .Values.site.init .Values.site.init.database .Values.site.init.database.import }}
|
||||
RUN_DATABASEIMPORTS: 'true'
|
||||
IMPORT_DATABASE: {{ .Values.site.init.database.url }}
|
||||
@@ -110,7 +111,6 @@ data:
|
||||
"uri": [
|
||||
"*.php",
|
||||
"*.php/*",
|
||||
"/wp-admin/",
|
||||
"/wp/wp-admin/"
|
||||
]
|
||||
}
|
||||
@@ -119,7 +119,7 @@ data:
|
||||
"action": {
|
||||
"share": "/app/web$uri",
|
||||
"fallback": {
|
||||
"pass": "applications/php/direct"
|
||||
"pass": "applications/php/index"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,9 @@ site:
|
||||
|
||||
# The name of the theme which the composer package refers to
|
||||
themeName: "mycustomer-app-theme"
|
||||
|
||||
# If needed, force a change of the theme folder name to conform with site requirements
|
||||
# forceThemeName: ""
|
||||
|
||||
# Optional: Import content to wp-content directory from zip file
|
||||
content: {}
|
||||
|
||||
Reference in New Issue
Block a user