add local fallback ingress for core apps
This commit is contained in:
		
							
								
								
									
										32
									
								
								clusters/cl01tl/platform/authentik/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								clusters/cl01tl/platform/authentik/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| apiVersion: extensions/v1beta1 | ||||
| kind: Ingress | ||||
| metadata: | ||||
|   name: authentik-local | ||||
|   namespace: {{ .Release.Namespace }} | ||||
|   labels: | ||||
|     app.kubernetes.io/name: authentik-local | ||||
|     app.kubernetes.io/instance: {{ .Release.Name }} | ||||
|     app.kubernetes.io/version: {{ .Chart.AppVersion }} | ||||
|     app.kubernetes.io/component: web | ||||
|     app.kubernetes.io/part-of: {{ .Release.Name }} | ||||
|   annotations: | ||||
|     traefik.ingress.kubernetes.io/router.entrypoints: websecure | ||||
|     traefik.ingress.kubernetes.io/router.tls: "true" | ||||
|     cert-manager.io/cluster-issuer: letsencrypt-issuer | ||||
| spec: | ||||
|   ingressClassName: traefik | ||||
|   tls: | ||||
|     - hosts: | ||||
|         - authentik.alexlebens.net | ||||
|       secretName: authentik-tls-secret | ||||
|   rules: | ||||
|     - host: authentik.alexlebens.net | ||||
|       http: | ||||
|         paths: | ||||
|           - path: / | ||||
|             pathType: Prefix | ||||
|             backend: | ||||
|               service: | ||||
|                 name: authentik-server | ||||
|                 port: | ||||
|                   number: 80 | ||||
		Reference in New Issue
	
	Block a user