Skip to content

Commit

Permalink
allow setting annotations for service account (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Jan 9, 2023
1 parent 9183512 commit 4378d33
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/authentik/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords:
- ldap
- idp
- sp
version: 2022.12.3
version: 2022.12.4
appVersion: 2022.12.2
icon: https://goauthentik.io/img/icon.png
maintainers:
Expand Down
7 changes: 4 additions & 3 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![Join Discord](https://img.shields.io/discord/809154715984199690?label=Discord&style=for-the-badge)](https://goauthentik.io/discord)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/goauthentik/helm/lint-test.yaml?branch=main&label=ci&style=for-the-badge)](https://github.com/goauthentik/helm/actions/workflows/lint-test.yaml)
![Version: 2022.12.3](https://img.shields.io/badge/Version-2022.12.3-informational?style=for-the-badge)
![Version: 2022.12.4](https://img.shields.io/badge/Version-2022.12.4-informational?style=for-the-badge)
![AppVersion: 2022.12.2](https://img.shields.io/badge/AppVersion-2022.12.2-informational?style=for-the-badge)

authentik is an open-source Identity Provider focused on flexibility and versatility
Expand Down Expand Up @@ -55,8 +55,8 @@ redis:

| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.16.2 |
| https://charts.bitnami.com/bitnami | redis | 15.7.6 |
| https://charts.goauthentik.io | postgresql | 10.16.2 |
| https://charts.goauthentik.io | redis | 15.7.6 |
| https://library-charts.k8s-at-home.com | common | 4.2.0 |

## Values
Expand Down Expand Up @@ -145,6 +145,7 @@ redis:
| service.port | int | `80` | |
| service.protocol | string | `"TCP"` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | Service account is needed for managed outposts |
| tolerations | list | `[]` | |
| volumeMounts | list | `[]` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/authentik/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![Join Discord](https://img.shields.io/discord/809154715984199690?label=Discord&style=for-the-badge)](https://goauthentik.io/discord)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/goauthentik/helm/lint-test.yaml?branch=main&label=ci&style=for-the-badge)](https://github.com/goauthentik/helm/actions/workflows/lint-test.yaml)
![Version: 2022.12.3](https://img.shields.io/badge/Version-2022.12.3-informational?style=for-the-badge)
![Version: 2022.12.4](https://img.shields.io/badge/Version-2022.12.4-informational?style=for-the-badge)
![AppVersion: 2022.12.2](https://img.shields.io/badge/AppVersion-2022.12.2-informational?style=for-the-badge)

{{ template "chart.deprecationWarning" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/authentik/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ kind: ServiceAccount
metadata:
name: {{ include "common.names.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
1 change: 1 addition & 0 deletions charts/authentik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ readinessProbe:
serviceAccount:
# -- Service account is needed for managed outposts
create: true
annotations: {}

prometheus:
serviceMonitor:
Expand Down

0 comments on commit 4378d33

Please sign in to comment.