Skip to content

Commit

Permalink
Merge pull request #63 from colearendt/traefik-forward-auth-pod-env
Browse files Browse the repository at this point in the history
create pod.env field when values are present
  • Loading branch information
colearendt authored Nov 17, 2023
2 parents 9470843 + 4fcdf04 commit 42448ea
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/traefik-forward-auth/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions charts/traefik-forward-auth/NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions charts/traefik-forward-auth/README.md
Original file line number Diff line number Diff line change
@@ -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_
Expand Down
3 changes: 2 additions & 1 deletion charts/traefik-forward-auth/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 42448ea

Please sign in to comment.