Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e120bf4a37 | |||
| fa3bec2064 | |||
| 2c7d959b16 | |||
| 10555efb04 | |||
| 13ea14a28c | |||
| ab4af9a75b |
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.0.3"
|
HELM_CHART_VERSION: "0.8.12"
|
||||||
|
|
||||||
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.0.2"
|
version: "0.8.12"
|
||||||
appVersion: "6.2.0"
|
appVersion: "6.2.2"
|
||||||
|
|||||||
@@ -28,7 +28,12 @@ data:
|
|||||||
SMTP_FROM_NAME: "V3 Customer Mailer"
|
SMTP_FROM_NAME: "V3 Customer Mailer"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
WP_ENV: "{{ .Values.site.env | default "production" }}"
|
{{- if and .Values.site .Values.site.overrideEnvironment }}
|
||||||
|
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 }}
|
||||||
@@ -129,6 +134,28 @@ 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,7 +2,6 @@ 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:
|
||||||
|
|||||||
@@ -35,4 +35,4 @@ spec:
|
|||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
|
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
|
||||||
volumeMode: Filesystem
|
volumeMode: Filesystem
|
||||||
---
|
---
|
||||||
@@ -19,4 +19,4 @@ spec:
|
|||||||
|
|
||||||
{{- if and .Values.site .Values.site.storage .Values.site.storage.cloud }}
|
{{- if and .Values.site .Values.site.storage .Values.site.storage.cloud }}
|
||||||
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
|
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -37,8 +37,6 @@ 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"
|
||||||
|
|
||||||
@@ -46,9 +44,15 @@ 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