mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
refactor(app): migrate-autoscaling [EE-6387] (#10709)
* refactor(app): migrate-autoscaling [EE-6387]
This commit is contained in:
parent
6da71661d5
commit
2d77e71085
7 changed files with 249 additions and 122 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue