OBJECT

KubernetesKindPersistentVolumeClaimSpecDataSource

This field can be used to specify either: An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.

link GraphQL Schema definition

  • type KubernetesKindPersistentVolumeClaimSpecDataSource {
  • # APIGroup is the group for the resource being referenced. If APIGroup is not
  • # specified, the specified Kind must be in the core API group. For any other
  • # third-party types, APIGroup is required.
  • apiGroup: String
  • # Kind is the type of resource being referenced
  • kind: String
  • # Name is the name of resource being referenced
  • name: String
  • }