apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ha-sync-ui namespace: infrastructure annotations: cert-manager.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io/auth-url: "https://auth.vandachevici.ro/outpost.goauthentik.io/auth/nginx" nginx.ingress.kubernetes.io/auth-signin: "https://auth.vandachevici.ro/outpost.goauthentik.io/start?rd=$scheme://$http_host$escaped_request_uri" nginx.ingress.kubernetes.io/auth-response-headers: >- Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid spec: ingressClassName: nginx rules: - host: ha-sync.vandachevici.ro http: paths: - path: / pathType: Prefix backend: service: name: ha-sync-ui port: number: 80 tls: - hosts: - ha-sync.vandachevici.ro secretName: ha-sync-ui-tls