We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65f0f5 commit 9a7b073Copy full SHA for 9a7b073
pkg/apis/storage/fuzzer/fuzzer.go
@@ -18,6 +18,7 @@ package fuzzer
18
19
import (
20
"fmt"
21
+
22
fuzz "github.com/google/gofuzz"
23
24
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
@@ -82,6 +83,10 @@ var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
82
83
obj.Spec.StorageCapacity = new(bool)
84
*(obj.Spec.StorageCapacity) = false
85
}
86
+ if obj.Spec.FSGroupPolicy == nil {
87
+ obj.Spec.FSGroupPolicy = new(storage.FSGroupPolicy)
88
+ *obj.Spec.FSGroupPolicy = storage.ReadWriteOnceWithFSTypeFSGroupPolicy
89
+ }
90
if len(obj.Spec.VolumeLifecycleModes) == 0 {
91
obj.Spec.VolumeLifecycleModes = []storage.VolumeLifecycleMode{
92
storage.VolumeLifecyclePersistent,
0 commit comments