Skip to content

Commit

Permalink
change domain
Browse files Browse the repository at this point in the history
  • Loading branch information
morok committed Jan 29, 2024
1 parent df3b790 commit fc8ebdf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/wp-project-skeleton/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/wp-project-skeleton/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
2 changes: 1 addition & 1 deletion charts/wp-project-skeleton/templates/configmap-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/wp-project-skeleton/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fc8ebdf

Please sign in to comment.