Skip to content

Commit 8d663cc

Browse files
authored
Merge pull request #117 from numtide/add-rbac-for-extra-pb-requirements
Update config based on the latest API spec
2 parents ff9f7bc + c5f61ed commit 8d663cc

9 files changed

+192
-45
lines changed

config/crd/bases/multigres.com_cells.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,13 @@ spec:
12091209
storage:
12101210
description: Storage configuration for Etcd data.
12111211
properties:
1212+
accessModes:
1213+
description: |-
1214+
AccessModes contains the desired access modes the volume should have.
1215+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
1216+
items:
1217+
type: string
1218+
type: array
12121219
class:
12131220
description: Class is the StorageClass name.
12141221
maxLength: 63

config/crd/bases/multigres.com_celltemplates.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ spec:
118118
storage:
119119
description: Storage configuration for Etcd data.
120120
properties:
121+
accessModes:
122+
description: |-
123+
AccessModes contains the desired access modes the volume should have.
124+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
125+
items:
126+
type: string
127+
type: array
121128
class:
122129
description: Class is the StorageClass name.
123130
maxLength: 63

config/crd/bases/multigres.com_coretemplates.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ spec:
120120
storage:
121121
description: Storage configuration for Etcd data.
122122
properties:
123+
accessModes:
124+
description: |-
125+
AccessModes contains the desired access modes the volume should have.
126+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
127+
items:
128+
type: string
129+
type: array
123130
class:
124131
description: Class is the StorageClass name.
125132
maxLength: 63

config/crd/bases/multigres.com_multigresclusters.yaml

Lines changed: 76 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,13 @@ spec:
11841184
storage:
11851185
description: Storage configuration for Etcd data.
11861186
properties:
1187+
accessModes:
1188+
description: |-
1189+
AccessModes contains the desired access modes the volume should have.
1190+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
1191+
items:
1192+
type: string
1193+
type: array
11871194
class:
11881195
description: Class is the StorageClass name.
11891196
maxLength: 63
@@ -4401,16 +4408,31 @@ spec:
44014408
x-kubernetes-list-type: atomic
44024409
type: object
44034410
type: object
4404-
backupStorageType:
4405-
default: hostPath
4411+
backupStorage:
44064412
description: |-
4407-
BackupStorageType defines how backup storage is provided.
4408-
Valid values are "hostPath" (for single-node testing) and "pvc" (for production).
4409-
Defaults to "hostPath".
4410-
enum:
4411-
- hostPath
4412-
- pvc
4413-
type: string
4413+
BackupStorage defines the storage configuration for backup volumes.
4414+
Shared across all pods in a pool. Defaults to same as Storage if not specified.
4415+
properties:
4416+
accessModes:
4417+
description: |-
4418+
AccessModes contains the desired access modes the volume should have.
4419+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
4420+
items:
4421+
type: string
4422+
type: array
4423+
class:
4424+
description: Class is the StorageClass
4425+
name.
4426+
maxLength: 63
4427+
minLength: 1
4428+
type: string
4429+
size:
4430+
description: Size of the persistent
4431+
volume.
4432+
maxLength: 63
4433+
pattern: ^([0-9]+)(.+)$
4434+
type: string
4435+
type: object
44144436
cells:
44154437
description: Cells defines the list of
44164438
cells where this Pool should be deployed.
@@ -4563,6 +4585,13 @@ spec:
45634585
description: Storage defines the storage
45644586
configuration for the pool's data volumes.
45654587
properties:
4588+
accessModes:
4589+
description: |-
4590+
AccessModes contains the desired access modes the volume should have.
4591+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
4592+
items:
4593+
type: string
4594+
type: array
45664595
class:
45674596
description: Class is the StorageClass
45684597
name.
@@ -6679,16 +6708,31 @@ spec:
66796708
x-kubernetes-list-type: atomic
66806709
type: object
66816710
type: object
6682-
backupStorageType:
6683-
default: hostPath
6711+
backupStorage:
66846712
description: |-
6685-
BackupStorageType defines how backup storage is provided.
6686-
Valid values are "hostPath" (for single-node testing) and "pvc" (for production).
6687-
Defaults to "hostPath".
6688-
enum:
6689-
- hostPath
6690-
- pvc
6691-
type: string
6713+
BackupStorage defines the storage configuration for backup volumes.
6714+
Shared across all pods in a pool. Defaults to same as Storage if not specified.
6715+
properties:
6716+
accessModes:
6717+
description: |-
6718+
AccessModes contains the desired access modes the volume should have.
6719+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
6720+
items:
6721+
type: string
6722+
type: array
6723+
class:
6724+
description: Class is the StorageClass
6725+
name.
6726+
maxLength: 63
6727+
minLength: 1
6728+
type: string
6729+
size:
6730+
description: Size of the persistent
6731+
volume.
6732+
maxLength: 63
6733+
pattern: ^([0-9]+)(.+)$
6734+
type: string
6735+
type: object
66926736
cells:
66936737
description: Cells defines the list of
66946738
cells where this Pool should be deployed.
@@ -6841,6 +6885,13 @@ spec:
68416885
description: Storage defines the storage
68426886
configuration for the pool's data volumes.
68436887
properties:
6888+
accessModes:
6889+
description: |-
6890+
AccessModes contains the desired access modes the volume should have.
6891+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
6892+
items:
6893+
type: string
6894+
type: array
68446895
class:
68456896
description: Class is the StorageClass
68466897
name.
@@ -6989,6 +7040,13 @@ spec:
69897040
storage:
69907041
description: Storage configuration for Etcd data.
69917042
properties:
7043+
accessModes:
7044+
description: |-
7045+
AccessModes contains the desired access modes the volume should have.
7046+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
7047+
items:
7048+
type: string
7049+
type: array
69927050
class:
69937051
description: Class is the StorageClass name.
69947052
maxLength: 63

config/crd/bases/multigres.com_shards.yaml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,16 +2066,29 @@ spec:
20662066
x-kubernetes-list-type: atomic
20672067
type: object
20682068
type: object
2069-
backupStorageType:
2070-
default: hostPath
2069+
backupStorage:
20712070
description: |-
2072-
BackupStorageType defines how backup storage is provided.
2073-
Valid values are "hostPath" (for single-node testing) and "pvc" (for production).
2074-
Defaults to "hostPath".
2075-
enum:
2076-
- hostPath
2077-
- pvc
2078-
type: string
2071+
BackupStorage defines the storage configuration for backup volumes.
2072+
Shared across all pods in a pool. Defaults to same as Storage if not specified.
2073+
properties:
2074+
accessModes:
2075+
description: |-
2076+
AccessModes contains the desired access modes the volume should have.
2077+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
2078+
items:
2079+
type: string
2080+
type: array
2081+
class:
2082+
description: Class is the StorageClass name.
2083+
maxLength: 63
2084+
minLength: 1
2085+
type: string
2086+
size:
2087+
description: Size of the persistent volume.
2088+
maxLength: 63
2089+
pattern: ^([0-9]+)(.+)$
2090+
type: string
2091+
type: object
20792092
cells:
20802093
description: Cells defines the list of cells where this Pool
20812094
should be deployed.
@@ -2225,6 +2238,13 @@ spec:
22252238
description: Storage defines the storage configuration for the
22262239
pool's data volumes.
22272240
properties:
2241+
accessModes:
2242+
description: |-
2243+
AccessModes contains the desired access modes the volume should have.
2244+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
2245+
items:
2246+
type: string
2247+
type: array
22282248
class:
22292249
description: Class is the StorageClass name.
22302250
maxLength: 63

config/crd/bases/multigres.com_shardtemplates.yaml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,16 +1982,29 @@ spec:
19821982
x-kubernetes-list-type: atomic
19831983
type: object
19841984
type: object
1985-
backupStorageType:
1986-
default: hostPath
1985+
backupStorage:
19871986
description: |-
1988-
BackupStorageType defines how backup storage is provided.
1989-
Valid values are "hostPath" (for single-node testing) and "pvc" (for production).
1990-
Defaults to "hostPath".
1991-
enum:
1992-
- hostPath
1993-
- pvc
1994-
type: string
1987+
BackupStorage defines the storage configuration for backup volumes.
1988+
Shared across all pods in a pool. Defaults to same as Storage if not specified.
1989+
properties:
1990+
accessModes:
1991+
description: |-
1992+
AccessModes contains the desired access modes the volume should have.
1993+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
1994+
items:
1995+
type: string
1996+
type: array
1997+
class:
1998+
description: Class is the StorageClass name.
1999+
maxLength: 63
2000+
minLength: 1
2001+
type: string
2002+
size:
2003+
description: Size of the persistent volume.
2004+
maxLength: 63
2005+
pattern: ^([0-9]+)(.+)$
2006+
type: string
2007+
type: object
19952008
cells:
19962009
description: Cells defines the list of cells where this Pool
19972010
should be deployed.
@@ -2141,6 +2154,13 @@ spec:
21412154
description: Storage defines the storage configuration for the
21422155
pool's data volumes.
21432156
properties:
2157+
accessModes:
2158+
description: |-
2159+
AccessModes contains the desired access modes the volume should have.
2160+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
2161+
items:
2162+
type: string
2163+
type: array
21442164
class:
21452165
description: Class is the StorageClass name.
21462166
maxLength: 63

config/crd/bases/multigres.com_tablegroups.yaml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,16 +2097,29 @@ spec:
20972097
x-kubernetes-list-type: atomic
20982098
type: object
20992099
type: object
2100-
backupStorageType:
2101-
default: hostPath
2100+
backupStorage:
21022101
description: |-
2103-
BackupStorageType defines how backup storage is provided.
2104-
Valid values are "hostPath" (for single-node testing) and "pvc" (for production).
2105-
Defaults to "hostPath".
2106-
enum:
2107-
- hostPath
2108-
- pvc
2109-
type: string
2102+
BackupStorage defines the storage configuration for backup volumes.
2103+
Shared across all pods in a pool. Defaults to same as Storage if not specified.
2104+
properties:
2105+
accessModes:
2106+
description: |-
2107+
AccessModes contains the desired access modes the volume should have.
2108+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
2109+
items:
2110+
type: string
2111+
type: array
2112+
class:
2113+
description: Class is the StorageClass name.
2114+
maxLength: 63
2115+
minLength: 1
2116+
type: string
2117+
size:
2118+
description: Size of the persistent volume.
2119+
maxLength: 63
2120+
pattern: ^([0-9]+)(.+)$
2121+
type: string
2122+
type: object
21102123
cells:
21112124
description: Cells defines the list of cells where this
21122125
Pool should be deployed.
@@ -2258,6 +2271,13 @@ spec:
22582271
description: Storage defines the storage configuration
22592272
for the pool's data volumes.
22602273
properties:
2274+
accessModes:
2275+
description: |-
2276+
AccessModes contains the desired access modes the volume should have.
2277+
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
2278+
items:
2279+
type: string
2280+
type: array
22612281
class:
22622282
description: Class is the StorageClass name.
22632283
maxLength: 63

0 commit comments

Comments
 (0)