From 8fc656f3ddb5f4f588efb0e3235f269a1eb0ae52 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Fri, 5 Apr 2024 16:13:36 +0200 Subject: [PATCH] docs(ingress): avoid deprecated annotation to set ingress class (#203) Closes reanahub/reana#742 --- .../configuration/configuring-cluster-ingress/index.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/administration/configuration/configuring-cluster-ingress/index.md b/docs/administration/configuration/configuring-cluster-ingress/index.md index ce9b001..a6fbd9c 100644 --- a/docs/administration/configuration/configuring-cluster-ingress/index.md +++ b/docs/administration/configuration/configuring-cluster-ingress/index.md @@ -10,6 +10,7 @@ REANA creates a single Ingress object by default, which can be customized with t - `ingress.enabled` enables or disables the creation of Ingresses - `ingress.annotations` is used to define which custom annotations should be applied to the Ingress resource +- `ingress.ingress_class_name` is used to select the desired [Ingress class](https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class), and can be set to `null` to use the default Ingress class of the cluster - `ingress.tls` can be used to configure a TLS certificate (see [Configuring TLS certificates](../configuring-tls-certificates/)) You can also specify additional Ingresses with the `ingress.extra` Helm value. @@ -27,13 +28,11 @@ ingress: - reana.cern.ch annotations: cert-manager.io/cluster-issuer: letsencrypt - kubernetes.io/ingress.class: traefik traefik.ingress.kubernetes.io/router.entrypoints: https traefik.ingress.kubernetes.io/router.tls: "true" extra: - name: http annotations: - kubernetes.io/ingress.class: traefik traefik.ingress.kubernetes.io/router.entrypoints: http traefik.ingress.kubernetes.io/router.middlewares: kube-system-redirect-scheme@kubernetescrd ``` @@ -53,7 +52,6 @@ kind: Ingress metadata: name: reana-ingress annotations: - kubernetes.io/ingress.class: traefik traefik.ingress.kubernetes.io/router.entrypoints: web,websecure spec: tls: