package models type VolumeClaimTemplate struct { Metadata struct { Name string `yaml:"name"` Annotations map[string]string `yaml:"annotations,omitempty"` } `yaml:"metadata"` Spec VolumeSpec `yaml:"spec"` } type VolumeSpec struct { AccessModes []string `yaml:"accessModes,flow"` Resources struct { Requests struct { Storage string `yaml:"storage"` } `yaml:"requests"` } `yaml:"resources"` } // ExistingVolume references a pre-provisioned PVC (created by oc-datacenter). // Used in Workflow.Spec.ExistingVolumes (yaml: "volumes") instead of volumeClaimTemplates. type ExistingVolume struct { Name string `yaml:"name"` PersistentVolumeClaim struct { ClaimName string `yaml:"claimName"` } `yaml:"persistentVolumeClaim"` }