1
0
Fork 0
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:
Ali 2024-01-03 10:42:39 +13:00 committed by GitHub
parent 6da71661d5
commit 2d77e71085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 249 additions and 122 deletions

View file

@ -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
);