Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ee88fd2e9 | |||
| 3d08d4b1e3 | |||
| 0c2bde824f | |||
| 38488999b9 | |||
| 231a6acbd7 | |||
| d7aba60eb3 |
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.8.12"
|
HELM_CHART_VERSION: "0.0.3"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: cloudypress
|
name: cloudypress
|
||||||
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
|
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
|
||||||
type: application
|
type: application
|
||||||
version: "0.8.12"
|
version: "0.0.2"
|
||||||
appVersion: "6.2.2"
|
appVersion: "6.2.0"
|
||||||
|
|||||||
@@ -28,12 +28,7 @@ data:
|
|||||||
SMTP_FROM_NAME: "V3 Customer Mailer"
|
SMTP_FROM_NAME: "V3 Customer Mailer"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if and .Values.site .Values.site.overrideEnvironment }}
|
WP_ENV: "{{ .Values.site.env | default "production" }}"
|
||||||
WP_ENV: "{{ .Values.site.overrideEnvironment }}"
|
|
||||||
{{- else }}
|
|
||||||
WP_ENV: "production"
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{- if .Values.site.overrideMainUrl }}
|
{{- if .Values.site.overrideMainUrl }}
|
||||||
WP_HOME: "https://{{ .Values.site.overrideMainUrl }}"
|
WP_HOME: "https://{{ .Values.site.overrideMainUrl }}"
|
||||||
{{- else }}
|
{{- else }}
|
||||||
@@ -134,28 +129,6 @@ data:
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{{- if eq .Values.site.enableWebpRoute "true" }}
|
|
||||||
{
|
|
||||||
"match": {
|
|
||||||
"uri": [
|
|
||||||
"*.jpg",
|
|
||||||
"*.jpeg",
|
|
||||||
"*.gif",
|
|
||||||
"*.png"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"action": {
|
|
||||||
"share": [
|
|
||||||
"/app/web$uri.webp",
|
|
||||||
"/app/web$uri"
|
|
||||||
],
|
|
||||||
"fallback": {
|
|
||||||
"pass": "applications/php/index"
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{{- end }}
|
|
||||||
{
|
{
|
||||||
"action": {
|
"action": {
|
||||||
"share": "/app/web$uri",
|
"share": "/app/web$uri",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ apiVersion: external-secrets.io/v1beta1
|
|||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: global-secrets-ext
|
name: global-secrets-ext
|
||||||
|
namespace: {{ include "..fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "..labels" . | nindent 8 }}
|
{{- include "..labels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ email: {}
|
|||||||
|
|
||||||
# Website Configuration
|
# Website Configuration
|
||||||
site:
|
site:
|
||||||
|
env: "development"
|
||||||
|
|
||||||
# The main URL for the website
|
# The main URL for the website
|
||||||
url: "www.mycustomer.com"
|
url: "www.mycustomer.com"
|
||||||
|
|
||||||
@@ -44,15 +46,9 @@ site:
|
|||||||
additional_env: {}
|
additional_env: {}
|
||||||
# MY_ENV_VAR: "value"
|
# MY_ENV_VAR: "value"
|
||||||
|
|
||||||
# Whether to enable the webp route
|
|
||||||
# enableWebpRoute: "false"
|
|
||||||
|
|
||||||
# Override the environment. Valid values are production, staging and development
|
|
||||||
# overrideEnvironment: "staging"
|
|
||||||
|
|
||||||
# Create sites with another main domain for WP,
|
# Create sites with another main domain for WP,
|
||||||
# but the rest of the components named according to site-tld
|
# but the rest of the components named according to site-tld
|
||||||
# overrideMainUrl: ""
|
overrideMainUrl: ""
|
||||||
|
|
||||||
# Whether to keep plugins and Wordpress updated
|
# Whether to keep plugins and Wordpress updated
|
||||||
autoUpdate: 'true'
|
autoUpdate: 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user