mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
fix(volumes): update external labels CE [r8s-108] (#7)
This commit is contained in:
parent
57e10dc911
commit
fd0bc652a9
8 changed files with 10 additions and 8 deletions
|
@ -6,10 +6,6 @@ export function isVolumeUsed(volume: VolumeViewModel) {
|
|||
return volume.Applications.length !== 0;
|
||||
}
|
||||
|
||||
export function isVolumeExternal(volume: VolumeViewModel) {
|
||||
return !volume.PersistentVolumeClaim.ApplicationOwner;
|
||||
}
|
||||
|
||||
export function generatedApplicationConfigVolumeName(applicationName: string) {
|
||||
return `config-${applicationName}-${uuidv4()}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue