update helm chart to support drafts

This commit is contained in:
Nikolai Rodionov
2023-02-25 18:06:56 +01:00
parent b9733a6a21
commit 1f106860ff
4 changed files with 11 additions and 3 deletions

View File

@ -2,5 +2,5 @@ apiVersion: v2
name: badhouseplants-net
description: A Helm chart for Kubernetes
type: application
version: 0.3.5
version: 0.3.6
appVersion: "1.16.0"

View File

@ -49,6 +49,9 @@ spec:
args:
- --baseURL
- {{ .Values.hugo.baseURL }}
{{- if .Values.hugo.buildDrafts }}
- --buildDrafts
{{- end }}
volumeMounts:
- name: {{ .Values.volumes.rclone.name }}
mountPath: /src/static

View File

@ -34,6 +34,7 @@ hugo:
pullPolicy: Always
tag: latest
baseURL: badhouseplants.net
buildDrafts: false
istio:
enabled: true