Remove storage-class annotations in examples

This commit is contained in:
xiangpengzhao
2017-08-25 10:47:23 +08:00
parent ca712680c7
commit 4bc05f4fc2
16 changed files with 6 additions and 34 deletions

View File

@@ -751,9 +751,6 @@ func NewStatefulSetPVC(name string) v1.PersistentVolumeClaim {
return v1.PersistentVolumeClaim{
ObjectMeta: metav1.ObjectMeta{
Name: name,
Annotations: map[string]string{
"volume.alpha.kubernetes.io/storage-class": "anything",
},
},
Spec: v1.PersistentVolumeClaimSpec{
AccessModes: []v1.PersistentVolumeAccessMode{