Closed vsoch closed 1 year ago
Oh wait I think I just found it - this one? https://github.com/kubernetes/api/blob/9fe8a5d4bed864fd0d2f4486dc5a08889cfb007c/core/v1/types.go#L156 So in the yaml it's flattened out to the spec level, but it's actually a type of volume source?
Sorry for the noise!
Hiya! I'm new to setting this up, so I apologize in advance for the silly question. I have my storage set up, the secret created, and now I'm adding the logic for my operator to create the same as the pv.yaml and pvc.yaml. But I'm looking at the section here:
https://github.com/ofek/csi-gcs/blob/4cf1cb5580cf9e4c4246cbb66cb5dba218162109/examples/static/pv.yaml#L12C7-L17
And I don't see how this
csi:
section maps to the PeristentVolume spec: https://github.com/kubernetes/api/blob/9fe8a5d4bed864fd0d2f4486dc5a08889cfb007c/core/v1/types.go#L323-L366Am I looking in the wrong place?