Skip to content

Commit

Permalink
feat: add ingress-nginx annotation suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott committed Feb 17, 2021
1 parent 66b895d commit 92b5af9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.2.3
version: 0.2.4
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
7 changes: 7 additions & 0 deletions charts/authelia/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ You have selected to use a regular ingress.
You should be able to access Authelia soon via https://{{ include "authelia.ingressHostWithPath" . }} if everything is configured correctly in your values and the DNS record points to the correct location.

You will also need to direct your ingress to use the following path for forward auth: {{ include "authelia.forwardAuthPath" (merge (dict "Namespace" .Release.Namespace) .) }}.

The following are the suggested annotations for 'ingress-nginx':

nginx.ingress.kubernetes.io/auth-url: http://{{ include "authelia.name" . }}.{{ .Release.Namespace }}/api/verify
nginx.ingress.kubernetes.io/auth-signin: https://{{ include "authelia.ingressHostWithPath" . }}
nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email

{{- else if (include "authelia.enabled.ingress.traefik" .) }}
You have selected the Traefik CRD to deploy the ingress. You can apply the {{ include "authelia.ingress.traefikCRD.middleware.name.chainAuth" . }} ({{ .Release.Namespace }} namespace) middleware to any Traefik ingress type in order to use Authelia auth with that ingress.

Expand Down

0 comments on commit 92b5af9

Please sign in to comment.