Skip to content

Cannot run prow at a subpath #376

@loispostula

Description

@loispostula

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

Metadata

Metadata

Assignees

Labels

area/deckIssues or PRs related to prow's deck componentkind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions