fix(authentik-application): add tls and annotations for outpost ingress

This commit is contained in:
WrenIX 2024-07-06 20:55:27 +02:00
parent 348a90e0ff
commit 492a92e615
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
4 changed files with 25 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: authentik-application name: authentik-application
description: "A Chart to deploy a secret for the authentik blueprint-sidecar." description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
type: application type: application
version: 0.4.1 version: 0.4.2
maintainers: maintainers:
- name: WrenIX - name: WrenIX
url: https://wrenix.eu url: https://wrenix.eu

View file

@ -2,7 +2,7 @@
= authentik-application = authentik-application
image::https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square[Version: 0.4.1] image::https://img.shields.io/badge/Version-0.4.2-informational?style=flat-square[Version: 0.4.2]
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
== Maintainers == Maintainers
@ -229,6 +229,11 @@ helm uninstall authentik-application-release
| `nil` | `nil`
| |
| blueprint.provider.proxy.ingress.annotations
| list
| `[]`
| annotations to ingress for outpost
| blueprint.provider.proxy.ingress.backend | blueprint.provider.proxy.ingress.backend
| string | string
| `"authentik"` | `"authentik"`
@ -244,6 +249,11 @@ helm uninstall authentik-application-release
| `false` | `false`
| deploy ingress on application domain for e.g. logout (WIP) | deploy ingress on application domain for e.g. logout (WIP)
| blueprint.provider.proxy.ingress.tls
| list
| `[]`
| tls to ingress for outpost
| blueprint.provider.proxy.skipPathRegex | blueprint.provider.proxy.skipPathRegex
| string | string
| `""` | `""`

View file

@ -6,6 +6,10 @@ metadata:
name: {{ include "authentik-application.fullname" . }} name: {{ include "authentik-application.fullname" . }}
labels: labels:
{{- include "authentik-application.labels" . | nindent 4 }} {{- include "authentik-application.labels" . | nindent 4 }}
{{- with .Values.blueprint.provider.proxy.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
rules: rules:
- host: {{ .Values.blueprint.provider.proxy.ingress.domain | quote }} - host: {{ .Values.blueprint.provider.proxy.ingress.domain | quote }}
@ -18,4 +22,8 @@ spec:
name: {{ .Values.blueprint.provider.proxy.ingress.backend | quote }} name: {{ .Values.blueprint.provider.proxy.ingress.backend | quote }}
port: port:
name: http name: http
{{- end }} {{- with .Values.blueprint.provider.proxy.ingress.tls }}
tls:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View file

@ -44,6 +44,10 @@ blueprint:
domain: domain:
# -- service backend to authentik # -- service backend to authentik
backend: authentik backend: authentik
# -- annotations to ingress for outpost
annotations: []
# -- tls to ingress for outpost
tls: []
application: application:
# -- application name in menu # -- application name in menu
name: "" name: ""