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:
2023-04-25 14:30:40 +02:00
parent d7aba60eb3
commit 231a6acbd7
6 changed files with 8 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
variables:
HELM_CHART_VERSION: "0.8.7"
HELM_CHART_VERSION: "0.0.1"
stages:
- deploy

View File

@@ -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"

View File

@@ -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 }}

View File

@@ -35,4 +35,4 @@ spec:
persistentVolumeReclaimPolicy: Retain
storageClassName: {{ .Values.site.storage.cloud.class }}-retain
volumeMode: Filesystem
---
---

View File

@@ -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 }}

View File

@@ -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'