fix(infra-monitoring): auth authentik with tls
This commit is contained in:
parent
924f95bc87
commit
de32a17556
3 changed files with 44 additions and 0 deletions
|
@ -35,6 +35,7 @@ spec:
|
||||||
domain: "https://{{ .Values.commons.auth.authentik.domain }}"
|
domain: "https://{{ .Values.commons.auth.authentik.domain }}"
|
||||||
provider:
|
provider:
|
||||||
enabled: {{ not .Values.alertmanager.auth.anonymous.enabled }}
|
enabled: {{ not .Values.alertmanager.auth.anonymous.enabled }}
|
||||||
|
type: "proxy"
|
||||||
proxy:
|
proxy:
|
||||||
externalHost: {{ $url | quote }}
|
externalHost: {{ $url | quote }}
|
||||||
skipPathRegex: |
|
skipPathRegex: |
|
||||||
|
@ -42,6 +43,21 @@ spec:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
domain: {{ $domain | quote }}
|
domain: {{ $domain | quote }}
|
||||||
|
backend: {{ .Values.commons.auth.authentik.backend }}
|
||||||
|
{{- with $.Values.commons.ingress.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if $.Values.commons.ingress.tls.enabled }}
|
||||||
|
tls:
|
||||||
|
{{- with $.Values.commons.ingress.tls.override }}
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- else }}
|
||||||
|
- secretName: "infra-monitoring-alertmanager-cert"
|
||||||
|
hosts:
|
||||||
|
- {{ $domain | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
groups:
|
groups:
|
||||||
- slug: "app: infra"
|
- slug: "app: infra"
|
||||||
|
|
|
@ -44,6 +44,20 @@ spec:
|
||||||
enabled: true
|
enabled: true
|
||||||
domain: {{ $domain | quote }}
|
domain: {{ $domain | quote }}
|
||||||
backend: {{ .Values.commons.auth.authentik.backend }}
|
backend: {{ .Values.commons.auth.authentik.backend }}
|
||||||
|
{{- with $.Values.commons.ingress.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if $.Values.commons.ingress.tls.enabled }}
|
||||||
|
tls:
|
||||||
|
{{- with $.Values.commons.ingress.tls.override }}
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- else }}
|
||||||
|
- secretName: "infra-monitoring-karma-cert"
|
||||||
|
hosts:
|
||||||
|
- {{ $domain | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
groups:
|
groups:
|
||||||
- slug: "app: infra"
|
- slug: "app: infra"
|
||||||
|
|
|
@ -44,6 +44,20 @@ spec:
|
||||||
enabled: true
|
enabled: true
|
||||||
domain: {{ $domain | quote }}
|
domain: {{ $domain | quote }}
|
||||||
backend: {{ .Values.commons.auth.authentik.backend }}
|
backend: {{ .Values.commons.auth.authentik.backend }}
|
||||||
|
{{- with $.Values.commons.ingress.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if $.Values.commons.ingress.tls.enabled }}
|
||||||
|
tls:
|
||||||
|
{{- with $.Values.commons.ingress.tls.override }}
|
||||||
|
{{- toYaml . | nindent 14 }}
|
||||||
|
{{- else }}
|
||||||
|
- secretName: "infra-monitoring-prometheus-cert"
|
||||||
|
hosts:
|
||||||
|
- {{ $domain | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
groups:
|
groups:
|
||||||
- slug: "app: infra"
|
- slug: "app: infra"
|
||||||
|
|
Loading…
Add table
Reference in a new issue