Update .gitlab-ci.yml, Chart/values.yaml, Chart/templates/configmap.yaml, Chart/templates/persistentvolume.yaml, Chart/templates/persistentvolumeclaim.yaml, Chart/Chart.yaml
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.8.7"
|
HELM_CHART_VERSION: "0.0.1"
|
||||||
|
|
||||||
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.7"
|
version: "0.0.1"
|
||||||
appVersion: "6.2.0"
|
appVersion: "6.2.0"
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ data:
|
|||||||
SMTP_FROM_NAME: "V3 Customer Mailer"
|
SMTP_FROM_NAME: "V3 Customer Mailer"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
WP_ENV: "production"
|
WP_ENV: "{{ .Values.site.env | default "production" }}"
|
||||||
{{- if .Values.site.overrideMainUrl }}
|
{{- if .Values.site.overrideMainUrl }}
|
||||||
WP_HOME: "https://{{ .Values.site.overrideMainUrl }}"
|
WP_HOME: "https://{{ .Values.site.overrideMainUrl }}"
|
||||||
{{- else }}
|
{{- else }}
|
||||||
|
|||||||
@@ -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,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"
|
||||||
|
|
||||||
@@ -46,7 +48,7 @@ site:
|
|||||||
|
|
||||||
# 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