1
- ---
2
- # Source: mongodb-enterprise-operator/templates/crds.yaml
3
1
apiVersion : apiextensions.k8s.io/v1beta1
4
2
kind : CustomResourceDefinition
5
3
metadata :
12
10
kind : MongoDB
13
11
plural : mongodb
14
12
shortNames :
15
- - mdb
13
+ - mdb
16
14
singular : mongodb
17
15
additionalPrinterColumns :
18
16
- name : Type
@@ -180,6 +178,14 @@ spec:
180
178
authentication :
181
179
type : object
182
180
properties :
181
+ agents :
182
+ type : object
183
+ properties :
184
+ mode :
185
+ type : string
186
+ enum : ["SCRAM", "X509"]
187
+ required :
188
+ - mode
183
189
enabled :
184
190
type : boolean
185
191
modes :
@@ -410,8 +416,6 @@ spec:
410
416
shardCount :
411
417
minimum : 1
412
418
type : integer
413
- ---
414
- # Source: mongodb-enterprise-operator/templates/crds.yaml
415
419
apiVersion : apiextensions.k8s.io/v1beta1
416
420
kind : CustomResourceDefinition
417
421
metadata :
@@ -424,7 +428,7 @@ spec:
424
428
kind : MongoDBUser
425
429
plural : mongodbusers
426
430
shortNames :
427
- - mdbu
431
+ - mdbu
428
432
singular : mongodbuser
429
433
additionalPrinterColumns :
430
434
- name : State
@@ -438,61 +442,59 @@ spec:
438
442
subresources :
439
443
status : {}
440
444
validation :
441
- openAPIV3Schema :
442
- type : object
443
- properties :
444
- spec :
445
- type : object
446
- properties :
447
- username :
448
- type : string
449
- description : " The username of the user"
450
- db :
451
- type : string
452
- description : " The database the user is stored in"
453
- project :
454
- type : string
455
- description : " The project the user belongs to"
456
- passwordSecretKeyRef :
445
+ openAPIV3Schema :
446
+ type : object
447
+ properties :
448
+ spec :
449
+ type : object
450
+ properties :
451
+ username :
452
+ type : string
453
+ description : " The username of the user"
454
+ db :
455
+ type : string
456
+ description : " The database the user is stored in"
457
+ project :
458
+ type : string
459
+ description : " The project the user belongs to"
460
+ passwordSecretKeyRef :
461
+ type : object
462
+ properties :
463
+ name :
464
+ type : string
465
+ key :
466
+ type : string
467
+ description : " DEPRECATED The project the user belongs to"
468
+ mongodbResourceRef :
469
+ type : object
470
+ properties :
471
+ name :
472
+ type : string
473
+ description : " The name of a MongoDB resource in the same namespace"
474
+ roles :
475
+ type : array
476
+ items :
457
477
type : object
458
478
properties :
459
479
name :
460
480
type : string
461
- key :
481
+ description : " The name of the role"
482
+ db :
462
483
type : string
463
- description : " DEPRECATED The project the user belongs to"
464
- mongodbResourceRef :
465
- type : object
466
- properties :
467
- name :
468
- type : string
469
- description : " The name of a MongoDB resource in the same namespace"
470
- roles :
471
- type : array
472
- items :
473
- type : object
474
- properties :
475
- name :
476
- type : string
477
- description : " The name of the role"
478
- db :
479
- type : string
480
- description : " The db the role can act on"
481
- passwordSecretKeyRef :
482
- type : object
483
- properties :
484
- name :
485
- type : string
486
- key :
487
- type : string
488
- required :
489
- - name
490
- - db
491
- required :
492
- - username
493
- - db
494
- ---
495
- # Source: mongodb-enterprise-operator/templates/crds.yaml
484
+ description : " The db the role can act on"
485
+ passwordSecretKeyRef :
486
+ type : object
487
+ properties :
488
+ name :
489
+ type : string
490
+ key :
491
+ type : string
492
+ required :
493
+ - name
494
+ - db
495
+ required :
496
+ - username
497
+ - db
496
498
apiVersion : apiextensions.k8s.io/v1beta1
497
499
kind : CustomResourceDefinition
498
500
metadata :
@@ -505,7 +507,7 @@ spec:
505
507
kind : MongoDBOpsManager
506
508
plural : opsmanagers
507
509
shortNames :
508
- - om
510
+ - om
509
511
singular : opsmanager
510
512
additionalPrinterColumns :
511
513
- name : Replicas
@@ -638,7 +640,7 @@ spec:
638
640
name :
639
641
type : string
640
642
required :
641
- - name
643
+ - name
642
644
required :
643
645
- name
644
646
- mongodbResourceRef
@@ -662,7 +664,7 @@ spec:
662
664
name :
663
665
type : string
664
666
required :
665
- - name
667
+ - name
666
668
required :
667
669
- name
668
670
- mongodbResourceRef
@@ -827,24 +829,17 @@ spec:
827
829
required :
828
830
- version
829
831
- applicationDatabase
830
-
831
-
832
- # This ClusterRole is necessary in order to use validating webhooks—these will
833
- # prevent you from applying a variety of invalid resource definitions. The
834
- # validating webhooks are optional so this can be removed if necessary.
835
- ---
836
- # Source: mongodb-enterprise-operator/templates/crds.yaml
837
832
kind : ClusterRole
838
833
apiVersion : rbac.authorization.k8s.io/v1
839
834
metadata :
840
835
name : mongodb-enterprise-operator-mongodb-webhook
841
836
rules :
842
- - apiGroups :
843
- - " admissionregistration.k8s.io"
844
- resources :
845
- - validatingwebhookconfigurations
846
- verbs :
847
- - get
848
- - create
849
- - update
850
- - delete
837
+ - apiGroups :
838
+ - " admissionregistration.k8s.io"
839
+ resources :
840
+ - validatingwebhookconfigurations
841
+ verbs :
842
+ - get
843
+ - create
844
+ - update
845
+ - delete
0 commit comments