Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run prow at a subpath #376

Open
loispostula opened this issue Feb 11, 2025 · 1 comment
Open

Cannot run prow at a subpath #376

loispostula opened this issue Feb 11, 2025 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@loispostula
Copy link

I cannot find a way to have prow deck works when using a subpath.

Let's say i have the following ingress

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$1
  name: prow-deck
  namespace: prow
spec:
  ingressClassName: nginx
  rules:
  - host: infra.example.com
    http:
      paths:
      - backend:
          service:
            name: prow-deck
            port:
              name: http
        path: /prow/?(.*)

I would expect prow to be available at https://infra.example.com/prow which is the case, but the static are not working and the prowjobs.js api are not working as they would be tried from https://infra.example.com

Reading the code, I cannot find a way to set a prefix

@petr-muller
Copy link
Contributor

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants