Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add imagePullSecrets configuration #70

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading