WAC
HHomarr
•Created by WAC on 3/3/2024 in #💬・get-help
Deployed to k3s cluster running Traefik, IngressRoute only partially works; 404s on /onboard
I've got a k3s cluster running, seemingly just fine. I've got a couple services deployed already, specificalyl Longhorn and it's UI with it's own IngressRoute functioning just fine.
I've deployed Homarr using the Helm charts and disabled the ingress provided therein. I've generated a certificate for this service and stored it in a secret.
I'm trying to setup an ingressroute in Traefik for this, but it's not entirely working. The service responds on the path I provided (
/
), but automatically redirects to /onboard where it hits me with a 404. Why?
Here's my values file and IngressRoute manifest:
Values:
image:
repository: ghcr.io/ajnart/homarr
pullPolicy: IfNotPresent
tag: "0.15.0"
env:
TZ: "US/Eastern"
DEFAULT_COLOR_SCHEME: "dark"
AUTH_PROVIDER: "credentials"
service:
type: ClusterIP
port: 7575
targetPort: 7575
ingress:
enabled: false
persistence:
- name: homarr-config
enabled: true
storageClassName: "longhorn"
accessMode: "ReadWriteOnce"
size: "50Mi"
mountPath: "/app/data/configs"
- name: homarr-database
enabled: true
storageClassName: "longhorn"
accessMode: "ReadWriteOnce"
size: "50Mi"
mountPath: "/app/database"
- name: homarr-icons
enabled: true
storageClassName: "longhorn"
accessMode: "ReadWriteOnce"
size: "50Mi"
mountPath: "/app/public/icons"
IngressRoute:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: homarr
namespace: default
spec:
entryPoints:
- websecure
routes:
- match: Host(
index.mydomain.net) && PathPrefix(
/)
kind: Rule
services:
- name: homarr
port: 7575
tls:
secretName: certificate-homarr-mydomain-net
6 replies