diff --git a/app/kubernetes/ingress/payloads.js b/app/kubernetes/ingress/payloads.js index 23e5ff317..d1c6279ec 100644 --- a/app/kubernetes/ingress/payloads.js +++ b/app/kubernetes/ingress/payloads.js @@ -4,10 +4,6 @@ export function KubernetesIngressCreatePayload() { return { metadata: new KubernetesCommonMetadataPayload(), spec: { - backend: { - serviceName: 'portainer-empty-default-backend', - servicePort: 1, - }, rules: [], }, }; diff --git a/app/kubernetes/views/configure/configure.html b/app/kubernetes/views/configure/configure.html index 995055edf..adf5fd039 100644 --- a/app/kubernetes/views/configure/configure.html +++ b/app/kubernetes/views/configure/configure.html @@ -122,6 +122,15 @@ +
+ +

+ + Traefik support is experimental. +

+
+
+
Metrics
diff --git a/app/kubernetes/views/configure/configureController.js b/app/kubernetes/views/configure/configureController.js index d9025000e..2e7216c26 100644 --- a/app/kubernetes/views/configure/configureController.js +++ b/app/kubernetes/views/configure/configureController.js @@ -79,6 +79,10 @@ class KubernetesConfigureController { } this.onChangeIngressClass(); } + + hasTraefikIngress() { + return _.find(this.formValues.IngressClasses, { Type: this.IngressClassTypes.TRAEFIK }); + } /* #endregion */ /* #region CONFIGURE */ diff --git a/app/kubernetes/views/resource-pools/create/createResourcePool.html b/app/kubernetes/views/resource-pools/create/createResourcePool.html index 08fc73cb2..8bfa7db51 100644 --- a/app/kubernetes/views/resource-pools/create/createResourcePool.html +++ b/app/kubernetes/views/resource-pools/create/createResourcePool.html @@ -172,16 +172,19 @@ Hostname
- +
-
+
+
+

This field is required.

+

This host is already used. @@ -189,7 +192,7 @@

-
+
- +
-
+
+
+

This field is required.

+

This host is already used. @@ -180,7 +190,7 @@

-
+