post: Dynamic environments per branch with ArgoCD

post: add onw todo point
This commit is contained in:
Nikolai Rodionov
2023-02-26 14:29:29 +01:00
committed by Gitea
parent 495279cc86
commit bd3fa6bbab
6 changed files with 130 additions and 35 deletions

View File

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

View File

@ -46,9 +46,9 @@ spec:
resources:
{{- toYaml .Values.rclone.container.resources | nindent 12 }}
- name: {{ .Values.hugo.container.name }}
env:
env:
{{- range $key, $value := .Values.hugo.env}}
- key: {{ $key }}
- name: {{ $key }}
value: {{ $value }}
{{- end}}
args:

View File

@ -42,6 +42,8 @@ hugo:
tag: latest
baseURL: https://badhouseplants.net/
buildDrafts: false
env:
HUGO_PARAMS_GITBRANCH: main
istio:
annotations: {}