Skip to content
Snippets Groups Projects

Replace the kubernetes.io/ingress.class annotation with the ingressClassName field

5 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -2,11 +2,11 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: traefik
traefik.frontend.entryPoints: http
name: prometheus
namespace: kube-system
spec:
ingressClassName: cern-magnum-traefik
rules:
- host: {{ .Values.clusterName }}-prometheus.cern.ch
http:
Loading