File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
pkg/apis/postgres-operator.crunchydata.com/v1beta1 Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -542,17 +542,6 @@ type PostgresVolumesSpec struct {
542542}
543543
544544type AdditionalVolume struct {
545- // The name of the volume used for mounting path.
546- // Volumes are mounted in the pods at `volumes/<NAME>`
547- // Must be unique.
548- // ---
549- // The `Name` field is a `DNS1123Label` type to enforce
550- // the max length.
551- // +required
552- // Max length is less than max 63 to allow prepending `volumes-` to name
553- // +kubebuilder:validation:MaxLength=55
554- Name DNS1123Label `json:"name"`
555-
556545 // A reference to a preexisting PVC.
557546 // ---
558547 // +required
@@ -567,6 +556,17 @@ type AdditionalVolume struct {
567556 // +kubebuilder:validation:MaxItems=10
568557 Containers []string `json:"containers,omitempty"`
569558
559+ // The name of the volume used for mounting path.
560+ // Volumes are mounted in the pods at `volumes/<NAME>`
561+ // Must be unique.
562+ // ---
563+ // The `Name` field is a `DNS1123Label` type to enforce
564+ // the max length.
565+ // +required
566+ // Max length is less than max 63 to allow prepending `volumes-` to name
567+ // +kubebuilder:validation:MaxLength=55
568+ Name DNS1123Label `json:"name"`
569+
570570 // Sets the write/read mode of the volume
571571 // ---
572572 // +optional
You can’t perform that action at this time.
0 commit comments