From 814f66fc55c8eb39931fc953ee78c472d0bbd4b7 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 25 Feb 2023 13:32:02 +0100 Subject: [PATCH] Udpate baseurl --- chart/Chart.yaml | 2 +- chart/templates/deployment.yaml | 6 +++--- chart/values.yaml | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index c049eb6..85e40c2 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: badhouseplants-net description: A Helm chart for Kubernetes type: application -version: 0.3.4 +version: 0.3.5 appVersion: "1.16.0" diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 7413337..eefd219 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -46,9 +46,9 @@ spec: resources: {{- toYaml .Values.rclone.container.resources | nindent 12 }} - name: {{ .Values.hugo.container.name }} - env: - - name: HUGO_BASEURL - value: {{ .Values.hugo.env.HUGO_BASEURL }} + args: + - --baseURL + - {{ .Values.hugo.baseURL }} volumeMounts: - name: {{ .Values.volumes.rclone.name }} mountPath: /src/static diff --git a/chart/values.yaml b/chart/values.yaml index 999943c..dce353b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -33,8 +33,7 @@ hugo: repository: git.badhouseplants.net/allanger/badhouseplants-net pullPolicy: Always tag: latest - env: - HUGO_BASEURL: badhouseplants.net + baseURL: badhouseplants.net istio: enabled: true