From fc8ebdf33af83f3a87fb054baeebefeb2b0f85b3 Mon Sep 17 00:00:00 2001 From: morok Date: Mon, 29 Jan 2024 02:55:00 +0200 Subject: [PATCH] change domain --- charts/wp-project-skeleton/Chart.yaml | 4 ++-- charts/wp-project-skeleton/templates/_helpers.tpl | 2 +- charts/wp-project-skeleton/templates/configmap-env.yaml | 2 +- charts/wp-project-skeleton/values.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/wp-project-skeleton/Chart.yaml b/charts/wp-project-skeleton/Chart.yaml index 755a16d..1523d32 100644 --- a/charts/wp-project-skeleton/Chart.yaml +++ b/charts/wp-project-skeleton/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: wp-project-skeleton description: A Helm chart to deploy WordPress project. type: application -version: 0.5.13 -appVersion: "0.5.13" +version: 0.5.14 +appVersion: "0.5.14" dependencies: - name: common version: 2.x.x diff --git a/charts/wp-project-skeleton/templates/_helpers.tpl b/charts/wp-project-skeleton/templates/_helpers.tpl index 9286d86..8bb4cbc 100644 --- a/charts/wp-project-skeleton/templates/_helpers.tpl +++ b/charts/wp-project-skeleton/templates/_helpers.tpl @@ -41,5 +41,5 @@ Default S3 bucket. */}} {{- define "wp-project-skeleton.s3Bucket" }} {{- $subPath := hasSuffix "-stage" .Release.Name | ternary "/stage" "" -}} -{{- printf "media.wpd.digital/%s%s" (include "wp-project-skeleton.name" .) $subPath -}} +{{- printf "media.wpdgr.com/%s%s" (include "wp-project-skeleton.name" .) $subPath -}} {{- end -}} diff --git a/charts/wp-project-skeleton/templates/configmap-env.yaml b/charts/wp-project-skeleton/templates/configmap-env.yaml index 39a80c7..aea0093 100644 --- a/charts/wp-project-skeleton/templates/configmap-env.yaml +++ b/charts/wp-project-skeleton/templates/configmap-env.yaml @@ -74,7 +74,7 @@ data: {{- if .Values.app.cdnDomain }} CDN_DOMAIN: {{ .Values.app.cdnDomain | quote }} {{- else }} - CDN_DOMAIN: "{{ hasSuffix "-stage" .Release.Name | ternary .Release.Name (trimSuffix "-prod" .Release.Name) }}.wpd.digital" + CDN_DOMAIN: "{{ hasSuffix "-stage" .Release.Name | ternary .Release.Name (trimSuffix "-prod" .Release.Name) }}.wpdgr.com" {{- end }} {{- if .Values.app.newrelicDaemonAddress }} NEWRELIC_DAEMON_ADDRESS: {{ .Values.app.newrelicDaemonAddress | quote }} diff --git a/charts/wp-project-skeleton/values.yaml b/charts/wp-project-skeleton/values.yaml index 0c3b496..c90174c 100644 --- a/charts/wp-project-skeleton/values.yaml +++ b/charts/wp-project-skeleton/values.yaml @@ -125,8 +125,8 @@ app: dbName: "" # Defaults to internal subdomain name. dbUser: "" # Defaults to internal subdomain name. awsRegion: "" # Set default AWS region for all services. - s3UploadsBucket: "" # Defaults to media.wpd.digital with internal subdomain name in path. - s3UploadsBucketUrl: "" # Defaults to https://media.wpd.digital with internal subdomain name in path. + s3UploadsBucket: "" # Defaults to media.wpdgr.com with internal subdomain name in path. + s3UploadsBucketUrl: "" # Defaults to https://media.wpdgr.com with internal subdomain name in path. s3UploadsRegion: "" # Defaults to awsRegion. redisHost: "" # Defaults to release name + -redis-master. redisPrefix: "" # Defaults to release name.