Skip to content

Commit

Permalink
Merge pull request #70 from colearendt/tfa-secrets
Browse files Browse the repository at this point in the history
add imagePullSecrets configuration
  • Loading branch information
colearendt authored Aug 14, 2024
2 parents bcb2bbd + bcd2641 commit a5c73bf
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 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.14
version: 0.0.15
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.15

- Add imagePullSecrets configuration

# 0.0.14

- Set serviceAccountName on deployment
Expand Down
7 changes: 4 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.14](https://img.shields.io/badge/Version-0.0.14-informational?style=flat-square)
![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square)

## Installing the Chart

To install the chart with the release name `my-release` at version 0.0.14:
To install the chart with the release name `my-release` at version 0.0.15:

```bash
helm repo add colearendt https://colearendt.github.io/helm
helm install my-release colearendt/traefik-forward-auth --version=0.0.14
helm install my-release colearendt/traefik-forward-auth --version=0.0.15
```

#### _Deploy traefik-forward-auth_
Expand All @@ -28,6 +28,7 @@ helm install my-release colearendt/traefik-forward-auth --version=0.0.14
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"thomseddon/traefik-forward-auth"` | |
| image.tag | int | `2` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/traefik-forward-auth/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
app: {{ .Release.Name }}
spec:
serviceAccountName: {{ include "traefik-forward-auth.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: proxy
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
2 changes: 2 additions & 0 deletions charts/traefik-forward-auth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ service:
nameOverride: ""
fullnameOverride: ""

imagePullSecrets: []

image:
repository: thomseddon/traefik-forward-auth
tag: 2
Expand Down

0 comments on commit a5c73bf

Please sign in to comment.