Skip to content

config: allow customising ingress hosts #587

@tiborsimko

Description

@tiborsimko

For the SSL-RIVER deployment, the opening of notebooks necessitates the creation of ingresses with a dedicated host. (Currently we use * which is not working.)

Basically we need to allow the following:

$ kubectl get ingresses
NAME                                                     CLASS           HOSTS         ADDRESS   PORTS     AGE
reana-ingress                                            reana-traefik   *                       80, 443   9d
reana-run-session-e32d22d2-35eb-41c9-86ae-cd39ef39596d   reana-traefik   foo.bar.com             80        5d21h

The above test was performed by:

$ kubectl edit ingress reana-run-session-e32d22d2-35eb-41c9-86ae-cd39ef39596d 
$ kubectl get ingress reana-run-session-e32d22d2-35eb-41c9-86ae-cd39ef39596d -o yaml
...
spec:
  ingressClassName: reana-traefik
  rules:
  - host: foo.bar.com
    http:
      paths:
      - backend:

The goal of this issue is to introduce a new configuration variable REANA_INGRESS_HOST, alongside existing variables REANA_INGRESS_ANNOTATIONS and REANA_INGRESS_CLASS_NAME, that would allow to customize the host part of the ingress rules.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions