diff --git a/app/kubernetes/react/components/index.ts b/app/kubernetes/react/components/index.ts index 0f44e3c66..e9f986fbc 100644 --- a/app/kubernetes/react/components/index.ts +++ b/app/kubernetes/react/components/index.ts @@ -38,6 +38,10 @@ import { ReplicationFormSection, replicationValidation, } from '@/react/kubernetes/applications/components/ReplicationFormSection'; +import { + AutoScalingFormSection, + autoScalingValidation, +} from '@/react/kubernetes/applications/components/AutoScalingFormSection'; import { EnvironmentVariablesFieldset } from '@@/form-components/EnvironmentVariablesFieldset'; @@ -255,3 +259,11 @@ withFormValidation( ], replicationValidation ); + +withFormValidation( + ngModule, + withUIRouter(withCurrentUser(withReactQuery(AutoScalingFormSection))), + 'autoScalingFormSection', + ['isMetricsEnabled'], + autoScalingValidation +); diff --git a/app/kubernetes/views/applications/create/createApplication.html b/app/kubernetes/views/applications/create/createApplication.html index d9320c6f2..a2afda66c 100644 --- a/app/kubernetes/views/applications/create/createApplication.html +++ b/app/kubernetes/views/applications/create/createApplication.html @@ -466,128 +466,13 @@ - -
This feature is currently disabled and must be enabled by an administrator user.
-- Server metrics features must be enabled in the - environment configuration view. -
-
-
-
-
-
-