Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions api/disaggregated/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,18 @@ type PersistentVolume struct {
//Annotation for PVC pods. Users can adapt the storage authentication and pv binding of the cloud platform through configuration.
//It only takes effect in the first configuration and cannot be added or modified later.
Annotations map[string]string `json:"annotations,omitempty"`

// defines pvc provisioner, default is ''.
PVCProvisioner PVCProvisioner `json:"provisioner,omitempty"`
}

type PVCProvisioner string

// Possible values of PVC provisioner
const (
PVCProvisionerOperator PVCProvisioner = "operator"
)

type Secret struct {
//specify the secret need to be mounted in deployed namespace.
SecretName string `json:"secretName,omitempty"`
Expand Down
18 changes: 18 additions & 0 deletions config/crd/bases/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10841,6 +10841,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
persistentVolumes:
description: volume template for mountPath
Expand Down Expand Up @@ -11071,6 +11074,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
type: array
replicas:
Expand Down Expand Up @@ -13079,6 +13085,9 @@ spec:
PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
persistentVolumes:
description: volume template for mountPath
Expand Down Expand Up @@ -13308,6 +13317,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
type: array
replicas:
Expand Down Expand Up @@ -15327,6 +15339,9 @@ spec:
PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
persistentVolumes:
description: volume template for mountPath
Expand Down Expand Up @@ -15556,6 +15571,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
type: array
replicas:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
persistentVolumes:
description: volume template for mountPath
Expand Down Expand Up @@ -1930,6 +1933,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
type: array
replicas:
Expand Down Expand Up @@ -3938,6 +3944,9 @@ spec:
PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
persistentVolumes:
description: volume template for mountPath
Expand Down Expand Up @@ -4167,6 +4176,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
type: array
replicas:
Expand Down Expand Up @@ -6186,6 +6198,9 @@ spec:
PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
persistentVolumes:
description: volume template for mountPath
Expand Down Expand Up @@ -6415,6 +6430,9 @@ spec:
the PersistentVolume backing this claim.
type: string
type: object
provisioner:
description: defines pvc provisioner, default is ''.
type: string
type: object
type: array
replicas:
Expand Down
1 change: 1 addition & 0 deletions config/operator/disaggregated-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ rules:
- get
- list
- watch
- create
- update
- patch
- delete
Expand Down
Loading