Support for labels at pvc level (#254)

This commit is contained in:
Daniel Valdivia
2020-08-20 22:46:07 -07:00
committed by GitHub
parent c59737a71d
commit 54d0a1d342
4 changed files with 27 additions and 1 deletions

View File

@@ -1141,7 +1141,8 @@ func parseTenantZoneRequest(zoneParams *models.Zone, annotations map[string]stri
// Pass annotations to the volume
vct := &corev1.PersistentVolumeClaim{
ObjectMeta: metav1.ObjectMeta{
Name: "data",
Name: "data",
Labels: zoneParams.VolumeConfiguration.Labels,
},
Spec: volTemp,
}