mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(app): persisted volume fixes [EE-6554] (#10975)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
fa63432695
commit
59f642ea56
5 changed files with 24 additions and 13 deletions
|
@ -204,7 +204,7 @@ export function PersistedFolderItem({
|
|||
isDisabled={
|
||||
(isEdit && isExistingPersistedFolder()) ||
|
||||
applicationValues.Containers.length > 1 ||
|
||||
availableVolumes.length <= 1
|
||||
availableVolumes.length < 1
|
||||
}
|
||||
data-cy={`k8sAppCreate-pvcSelect_${index}`}
|
||||
/>
|
||||
|
|
|
@ -103,8 +103,8 @@ function existingVolumeValidation(): SchemaOf<ExistingVolume> {
|
|||
Storage: string().required(),
|
||||
storageClass: storageClassValidation(),
|
||||
CreationDate: string().required(),
|
||||
ApplicationOwner: string().required(),
|
||||
ApplicationName: string().required(),
|
||||
ApplicationOwner: string(),
|
||||
ApplicationName: string(),
|
||||
PreviousName: string(),
|
||||
MountPath: string(),
|
||||
Yaml: string(),
|
||||
|
|
|
@ -19,8 +19,8 @@ export type ExistingVolume = {
|
|||
Storage: string;
|
||||
storageClass: StorageClass;
|
||||
CreationDate: string;
|
||||
ApplicationOwner: string;
|
||||
ApplicationName: string;
|
||||
ApplicationOwner?: string;
|
||||
ApplicationName?: string;
|
||||
PreviousName?: string;
|
||||
MountPath?: string;
|
||||
Yaml?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue