From 76abe69ecab8bea27a92f016226b98995c0d5fea Mon Sep 17 00:00:00 2001 From: Tim Talbot Date: Fri, 17 Nov 2023 12:47:20 -0500 Subject: [PATCH 1/3] create pod.env field when values are present --- charts/traefik-forward-auth/templates/pod.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/traefik-forward-auth/templates/pod.yaml b/charts/traefik-forward-auth/templates/pod.yaml index e99bbd5..8beaab2 100644 --- a/charts/traefik-forward-auth/templates/pod.yaml +++ b/charts/traefik-forward-auth/templates/pod.yaml @@ -25,7 +25,8 @@ spec: - name: proxy image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" {{- if .Values.pod.env }} -{{ toYaml .Values.pod.env | indent 8 }} + env: +{{ toYaml .Values.pod.env | indent 10 }} {{- end }} {{- if .Values.command }} command: From ac4a1516cbd546d4ad202d57cfb24857065bf2d3 Mon Sep 17 00:00:00 2001 From: Tim Talbot Date: Fri, 17 Nov 2023 13:01:01 -0500 Subject: [PATCH 2/3] bump forward-auth version and news --- charts/traefik-forward-auth/Chart.yaml | 2 +- charts/traefik-forward-auth/NEWS.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/traefik-forward-auth/Chart.yaml b/charts/traefik-forward-auth/Chart.yaml index cf1ae8b..a23d0ee 100644 --- a/charts/traefik-forward-auth/Chart.yaml +++ b/charts/traefik-forward-auth/Chart.yaml @@ -1,6 +1,6 @@ name: traefik-forward-auth description: Deploy traefik-forward-auth -version: 0.0.10 +version: 0.0.11 apiVersion: v1 sources: - https://github.com/thomseddon/traefik-forward-auth diff --git a/charts/traefik-forward-auth/NEWS.md b/charts/traefik-forward-auth/NEWS.md index f1e3d93..8a635bb 100644 --- a/charts/traefik-forward-auth/NEWS.md +++ b/charts/traefik-forward-auth/NEWS.md @@ -1,3 +1,7 @@ +# 0.0.11 + +- Set pod.env field when env vars are provided + # 0.0.10 - Add tolerations, nodeSelector, and affinity values From 4fcdf0442d9430c9b82a432d1c88d2de28b7b618 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 17 Nov 2023 18:01:26 +0000 Subject: [PATCH 3/3] Update helm-docs and README.md --- charts/traefik-forward-auth/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/traefik-forward-auth/README.md b/charts/traefik-forward-auth/README.md index e2f7e63..e313622 100644 --- a/charts/traefik-forward-auth/README.md +++ b/charts/traefik-forward-auth/README.md @@ -1,14 +1,14 @@ # traefik-forward-auth -![Version: 0.0.10](https://img.shields.io/badge/Version-0.0.10-informational?style=flat-square) +![Version: 0.0.11](https://img.shields.io/badge/Version-0.0.11-informational?style=flat-square) ## Installing the Chart -To install the chart with the release name `my-release` at version 0.0.10: +To install the chart with the release name `my-release` at version 0.0.11: ```bash helm repo add colearendt https://colearendt.github.io/helm -helm install my-release colearendt/traefik-forward-auth --version=0.0.10 +helm install my-release colearendt/traefik-forward-auth --version=0.0.11 ``` #### _Deploy traefik-forward-auth_