mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
refactor(app): migrate replicas form section [EE-6238] (#10705)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
58da51f767
commit
6da71661d5
8 changed files with 142 additions and 66 deletions
|
@ -155,6 +155,7 @@ class KubernetesCreateApplicationController {
|
|||
this.onSecretsChange = this.onSecretsChange.bind(this);
|
||||
this.onChangePersistedFolder = this.onChangePersistedFolder.bind(this);
|
||||
this.onChangeResourceReservation = this.onChangeResourceReservation.bind(this);
|
||||
this.onChangeReplicaCount = this.onChangeReplicaCount.bind(this);
|
||||
}
|
||||
/* #endregion */
|
||||
|
||||
|
@ -517,6 +518,12 @@ class KubernetesCreateApplicationController {
|
|||
return false;
|
||||
}
|
||||
|
||||
onChangeReplicaCount(values) {
|
||||
return this.$async(async () => {
|
||||
this.formValues.ReplicaCount = values.replicaCount;
|
||||
});
|
||||
}
|
||||
|
||||
// For each persisted folders, returns the non scalable deployments options (storage class that only supports RWO)
|
||||
getNonScalableStorage() {
|
||||
let storageOptions = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue