Skip to content

Commit

Permalink
2022.4.3 (#70)
Browse files Browse the repository at this point in the history
* update prometheus rules

* fix hardcoded service name

* escape rules

* bump version

* escape descriptions

* hmm

* fix
  • Loading branch information
BeryJu authored May 12, 2022
1 parent 5652482 commit e7def2a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

## authentik Chart

![Version: 2022.4.1](https://img.shields.io/badge/Version-2022.4.1-informational?style=for-the-badge)
![AppVersion: 2022.4.1](https://img.shields.io/badge/AppVersion-2022.4.1-informational?style=for-the-badge)
![Version: 2022.4.3](https://img.shields.io/badge/Version-2022.4.3-informational?style=for-the-badge)
![AppVersion: 2022.4.3](https://img.shields.io/badge/AppVersion-2022.4.3-informational?style=for-the-badge)

See [README](./charts/authentik/README.md)

Expand Down
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.4.2
version: 2022.4.3
appVersion: 2022.4.1
icon: https://raw.githubusercontent.com/BeryJu/authentik/master/web/icons/icon.svg
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

[![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/workflow/status/goauthentik/helm/Lint%20and%20Test%20Chart?label=cid&style=for-the-badge)](https://github.com/goauthentik/helm/actions/workflows/lint-test.yaml)
![Version: 2022.4.1](https://img.shields.io/badge/Version-2022.4.1-informational?style=for-the-badge)
![AppVersion: 2022.4.1](https://img.shields.io/badge/AppVersion-2022.4.1-informational?style=for-the-badge)
![Version: 2022.4.3](https://img.shields.io/badge/Version-2022.4.3-informational?style=for-the-badge)
![AppVersion: 2022.4.3](https://img.shields.io/badge/AppVersion-2022.4.3-informational?style=for-the-badge)

authentik is an open-source Identity Provider focused on flexibility and versatility

Expand Down
4 changes: 2 additions & 2 deletions charts/authentik/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

[![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/workflow/status/goauthentik/helm/Lint%20and%20Test%20Chart?label=cid&style=for-the-badge)](https://github.com/goauthentik/helm/actions/workflows/lint-test.yaml)
![Version: 2022.4.1](https://img.shields.io/badge/Version-2022.4.1-informational?style=for-the-badge)
![AppVersion: 2022.4.1](https://img.shields.io/badge/AppVersion-2022.4.1-informational?style=for-the-badge)
![Version: 2022.4.3](https://img.shields.io/badge/Version-2022.4.3-informational?style=for-the-badge)
![AppVersion: 2022.4.3](https://img.shields.io/badge/AppVersion-2022.4.3-informational?style=for-the-badge)

{{ template "chart.deprecationWarning" . }}

Expand Down
2 changes: 1 addition & 1 deletion charts/authentik/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
service:
name: {{ include "common.names.fullname" $ }}
port:
name: http
name: {{ $.Values.service.name }}
{{- else }}
serviceName: {{ include "common.names.fullname" $ }}
servicePort: {{ $.Values.service.port }}
Expand Down
14 changes: 7 additions & 7 deletions charts/authentik/templates/prom-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,25 +110,25 @@ spec:
- name: authentik Alerts
rules:
- alert: NoWorkersConnected
expr: sum (authentik_admin_workers) == 0
expr: max without (pid) (authentik_admin_workers) < 1
annotations:
message: |
authentik's worker are either not running or not connected.
authentik instance {{ printf "{{ $labels.instance }}" }}'s worker are either not running or not connected.
summary: No workers connected
for: 10m
labels:
severity: critical
- alert: PendingMigrations
expr: max(django_migrations_unapplied_total) BY (job, connection) > 0
expr: max without (pid) (django_migrations_unapplied_total) > 0
annotations:
message: |
authentik has pending database migrations
authentik instance {{ printf "{{ $labels.instance }}" }} has pending database migrations
summary: Pending database migrations
for: 10m
labels:
severity: critical
- alert: FailedSystemTasks
expr: count(authentik_system_tasks{status="TaskResultStatus.ERROR"}) > 0
expr: sum(increase(authentik_system_tasks{status="TaskResultStatus.ERROR"}[2h])) > 0
annotations:
message: |
System task {{ printf "{{ $labels.task_name }}" }} has failed
Expand All @@ -137,12 +137,12 @@ spec:
labels:
severity: critical
- alert: DisconnectedOutposts
expr: sum by (outpost) (authentik_outposts_connected{uid!~"specific.*"}) < 1
expr: sum by (outpost) (max without (pid) (authentik_outposts_connected{uid!~"specific.*"})) < 1
annotations:
message: |
Outpost {{ printf "{{ $labels.outpost }}" }} has at least 1 disconnected instance
summary: Disconnected outpost
for: 2h
for: 30m
labels:
severity: critical
{{- end }}

0 comments on commit e7def2a

Please sign in to comment.