mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 04:07:51 +08:00
remove volume_path from claim's label
This commit is contained in:
parent
23425b1af8
commit
f0306df2cf
@ -39,7 +39,7 @@ func (v *OtherVolume) CreateVolume(define *Define) error {
|
|||||||
volumeMountName := fmt.Sprintf("manual%d", v.svm.ID)
|
volumeMountName := fmt.Sprintf("manual%d", v.svm.ID)
|
||||||
volumeMountPath := v.svm.VolumePath
|
volumeMountPath := v.svm.VolumePath
|
||||||
volumeReadOnly := v.svm.IsReadOnly
|
volumeReadOnly := v.svm.IsReadOnly
|
||||||
labels := v.as.GetCommonLabels(map[string]string{"volume_name": v.svm.VolumeName, "version": v.as.DeployVersion, "reclaim_policy": v.svm.ReclaimPolicy, "volume_path": volumeMountPath})
|
labels := v.as.GetCommonLabels(map[string]string{"volume_name": v.svm.VolumeName, "version": v.as.DeployVersion, "reclaim_policy": v.svm.ReclaimPolicy})
|
||||||
annotations := map[string]string{"volume_name": v.svm.VolumeName}
|
annotations := map[string]string{"volume_name": v.svm.VolumeName}
|
||||||
// annotations["reclaim_policy"] = v.svm.ReclaimPolicy
|
// annotations["reclaim_policy"] = v.svm.ReclaimPolicy
|
||||||
// annotations["volume_path"] = volumeMountPath
|
// annotations["volume_path"] = volumeMountPath
|
||||||
|
Loading…
Reference in New Issue
Block a user