diff --git a/app/kubernetes/react/components/index.ts b/app/kubernetes/react/components/index.ts index 97329f898..0f44e3c66 100644 --- a/app/kubernetes/react/components/index.ts +++ b/app/kubernetes/react/components/index.ts @@ -34,6 +34,10 @@ import { ResourceReservationFormSection, resourceReservationValidation, } from '@/react/kubernetes/applications/components/ResourceReservationFormSection'; +import { + ReplicationFormSection, + replicationValidation, +} from '@/react/kubernetes/applications/components/ReplicationFormSection'; import { EnvironmentVariablesFieldset } from '@@/form-components/EnvironmentVariablesFieldset'; @@ -238,3 +242,16 @@ withFormValidation( ], resourceReservationValidation ); + +withFormValidation( + ngModule, + withUIRouter(withCurrentUser(withReactQuery(ReplicationFormSection))), + 'replicationFormSection', + [ + 'supportScalableReplicaDeployment', + 'cpuLimit', + 'memoryLimit', + 'resourceReservationsOverflow', + ], + replicationValidation +); diff --git a/app/kubernetes/views/applications/create/createApplication.html b/app/kubernetes/views/applications/create/createApplication.html index b0d0ce83f..d9320c6f2 100644 --- a/app/kubernetes/views/applications/create/createApplication.html +++ b/app/kubernetes/views/applications/create/createApplication.html @@ -451,71 +451,17 @@ > -
{{ ctrl.getNonScalableStorage() }}
. You will not be able to scale that application.
-