Skip to content

Commit

Permalink
fix: preview url
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Jul 24, 2024
1 parent 881bae2 commit a1fefd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/gtm-server-container-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.7
version: 0.1.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ spec:
- name: CONTAINER_CONFIG
value: {{ .Values.gtm.containerSettings }}
- name: PREVIEW_SERVER_URL
value: "https://{{ $taggingHost }}/preview"
# we take the first entry from the ingress.rules.taggingHost
value: "https://{{ (index .Values.ingress.rules 0).taggingHost }}/preview"

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit a1fefd7

Please sign in to comment.