8888 description : DatabaseSpec defines the desired state of Database
8989 properties :
9090 backup :
91- description : DatabaseBackup defines the desired state of backup and
92- schedule
91+ description : DatabaseBackup defines the desired state of backup and schedule
9392 properties :
9493 cron :
9594 type : string
@@ -117,16 +116,13 @@ spec:
117116 instance :
118117 type : string
119118 postgres :
120- description : Postgres struct should be used to provide resource that
121- only applicable to postgres
119+ description : Postgres struct should be used to provide resource that only applicable to postgres
122120 properties :
123121 dropPublicSchema :
124- description : If set to true, the public schema will be dropped
125- after the database creation
122+ description : If set to true, the public schema will be dropped after the database creation
126123 type : boolean
127124 schemas :
128- description : Specify schemas to be created. The user created by
129- db-operator will have all access on them.
125+ description : Specify schemas to be created. The user created by db-operator will have all access on them.
130126 items :
131127 type : string
132128 type : array
@@ -185,18 +181,15 @@ spec:
185181 - Namespace
186182 type : object
187183 backup :
188- description : DbInstanceBackup defines name of google bucket
189- to use for storing database dumps for backup when backup
190- is enabled
184+ description : DbInstanceBackup defines name of google bucket to use for storing database dumps for backup when backup is enabled
191185 properties :
192186 bucket :
193187 type : string
194188 required :
195189 - bucket
196190 type : object
197191 engine :
198- description : ' Important: Run "make generate" to regenerate
199- code after modifying this file'
192+ description : ' Important: Run "make generate" to regenerate code after modifying this file'
200193 type : string
201194 generic :
202195 description : |-
@@ -268,14 +261,12 @@ spec:
268261 - enabled
269262 type : object
270263 sslConnection :
271- description : DbInstanceSSLConnection defines weather connection
272- from db-operator to instance has to be ssl or not
264+ description : DbInstanceSSLConnection defines weather connection from db-operator to instance has to be ssl or not
273265 properties :
274266 enabled :
275267 type : boolean
276268 skip-verify :
277- description : SkipVerity use SSL connection, but don't
278- check against a CA
269+ description : SkipVerity use SSL connection, but don't check against a CA
279270 type : boolean
280271 required :
281272 - enabled
@@ -297,8 +288,7 @@ spec:
297288 type : string
298289 type : object
299290 phase :
300- description : ' Important: Run "make generate" to regenerate
301- code after modifying this file'
291+ description : ' Important: Run "make generate" to regenerate code after modifying this file'
302292 type : string
303293 status :
304294 type : boolean
@@ -394,8 +384,7 @@ spec:
394384 description : DatabaseSpec defines the desired state of Database
395385 properties :
396386 backup :
397- description : DatabaseBackup defines the desired state of backup and
398- schedule
387+ description : DatabaseBackup defines the desired state of backup and schedule
399388 properties :
400389 cron :
401390 type : string
@@ -413,11 +402,9 @@ spec:
413402 TODO(@allanger): Field .spec.secretName should be moved here in the v1beta2 version
414403 properties :
415404 templates :
416- description : Templates to add custom entries to ConfigMaps and
417- Secrets
405+ description : Templates to add custom entries to ConfigMaps and Secrets
418406 items :
419- description : Tempaltes to add custom entries to ConfigMaps and
420- Secrets
407+ description : Tempaltes to add custom entries to ConfigMaps and Secrets
421408 properties :
422409 name :
423410 type : string
@@ -434,23 +421,32 @@ spec:
434421 type : object
435422 deletionProtected :
436423 type : boolean
424+ extraGrants :
425+ items :
426+ properties :
427+ accessType :
428+ type : string
429+ user :
430+ type : string
431+ required :
432+ - accessType
433+ - user
434+ type : object
435+ type : array
437436 instance :
438437 type : string
439438 postgres :
440- description : Postgres struct should be used to provide resource that
441- only applicable to postgres
439+ description : Postgres struct should be used to provide resource that only applicable to postgres
442440 properties :
443441 dropPublicSchema :
444- description : If set to true, the public schema will be dropped
445- after the database creation
442+ description : If set to true, the public schema will be dropped after the database creation
446443 type : boolean
447444 extensions :
448445 items :
449446 type : string
450447 type : array
451448 schemas :
452- description : Specify schemas to be created. The user created by
453- db-operator will have all access on them.
449+ description : Specify schemas to be created. The user created by db-operator will have all access on them.
454450 items :
455451 type : string
456452 type : array
@@ -477,6 +473,18 @@ spec:
477473 type : string
478474 engine :
479475 type : string
476+ extraGrants :
477+ items :
478+ properties :
479+ accessType :
480+ type : string
481+ user :
482+ type : string
483+ required :
484+ - accessType
485+ - user
486+ type : object
487+ type : array
480488 monitorUserSecret :
481489 type : string
482490 operatorVersion :
0 commit comments