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:
|
||||
HELM_CHART_VERSION: "0.8.7"
|
||||
HELM_CHART_VERSION: "0.0.1"
|
||||
|
||||
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.1"
|
||||
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 }}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user