diff --git a/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-no-tls.yaml b/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-no-tls.yaml index 538adaf..9e237fd 100644 --- a/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-no-tls.yaml +++ b/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-no-tls.yaml @@ -2,9 +2,8 @@ kind: Ingress apiVersion: networking.k8s.io/v1 metadata: name: echo-ingress - annotations: - kubernetes.io/ingress.class: "traefik" spec: + ingressClassName: traefik rules: - http: paths: diff --git a/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-tls.template.yaml b/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-tls.template.yaml index 944d329..4aa358e 100644 --- a/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-tls.template.yaml +++ b/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/echo-tls.template.yaml @@ -3,9 +3,9 @@ apiVersion: networking.k8s.io/v1 metadata: name: echo-ingress annotations: - kubernetes.io/ingress.class: "traefik" cert-manager.io/cluster-issuer: ${issuer_name} spec: + ingressClassName: traefik rules: - host: ${fqdn} http: