diff --git a/apps/templates/authentik.yaml b/apps/templates/authentik.yaml index def6995..d69b1c7 100644 --- a/apps/templates/authentik.yaml +++ b/apps/templates/authentik.yaml @@ -23,12 +23,14 @@ spec: error_reporting: enabled: true - service: + ingress: enabled: true - type: ClusterIP - port: 9443 - name: https - protocol: TCP + ingressClassName: traefik + hosts: + - host: authentik.roxedus.com + paths: + - path: "/" + pathType: Prefix envValueFrom: AUTHENTIK_POSTGRESQL__PASSWORD: @@ -69,31 +71,3 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true ---- -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: authentik-traefik - namespace: authentik -spec: - entryPoints: - - websecure - routes: - - kind: Rule - match: Host("authentik.roxedus.com") - services: - - name: authentik - port: 9443 - scheme: https - serversTransport: selfsigned - tls: - certResolver: cloudflare ---- -apiVersion: traefik.containo.us/v1alpha1 -kind: ServersTransport -metadata: - name: selfsigned - namespace: authentik - -spec: - insecureSkipVerify: true