1- ---
2- # Source: mongodb-enterprise-operator/templates/crds.yaml
31apiVersion : apiextensions.k8s.io/v1beta1
42kind : CustomResourceDefinition
53metadata :
1210 kind : MongoDB
1311 plural : mongodb
1412 shortNames :
15- - mdb
13+ - mdb
1614 singular : mongodb
1715 additionalPrinterColumns :
1816 - name : Type
@@ -180,6 +178,14 @@ spec:
180178 authentication :
181179 type : object
182180 properties :
181+ agents :
182+ type : object
183+ properties :
184+ mode :
185+ type : string
186+ enum : ["SCRAM", "X509"]
187+ required :
188+ - mode
183189 enabled :
184190 type : boolean
185191 modes :
@@ -410,8 +416,6 @@ spec:
410416 shardCount :
411417 minimum : 1
412418 type : integer
413- ---
414- # Source: mongodb-enterprise-operator/templates/crds.yaml
415419apiVersion : apiextensions.k8s.io/v1beta1
416420kind : CustomResourceDefinition
417421metadata :
@@ -424,7 +428,7 @@ spec:
424428 kind : MongoDBUser
425429 plural : mongodbusers
426430 shortNames :
427- - mdbu
431+ - mdbu
428432 singular : mongodbuser
429433 additionalPrinterColumns :
430434 - name : State
@@ -438,61 +442,59 @@ spec:
438442 subresources :
439443 status : {}
440444 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 :
457477 type : object
458478 properties :
459479 name :
460480 type : string
461- key :
481+ description : " The name of the role"
482+ db :
462483 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
496498apiVersion : apiextensions.k8s.io/v1beta1
497499kind : CustomResourceDefinition
498500metadata :
@@ -505,7 +507,7 @@ spec:
505507 kind : MongoDBOpsManager
506508 plural : opsmanagers
507509 shortNames :
508- - om
510+ - om
509511 singular : opsmanager
510512 additionalPrinterColumns :
511513 - name : Replicas
@@ -638,7 +640,7 @@ spec:
638640 name :
639641 type : string
640642 required :
641- - name
643+ - name
642644 required :
643645 - name
644646 - mongodbResourceRef
@@ -662,7 +664,7 @@ spec:
662664 name :
663665 type : string
664666 required :
665- - name
667+ - name
666668 required :
667669 - name
668670 - mongodbResourceRef
@@ -827,24 +829,17 @@ spec:
827829 required :
828830 - version
829831 - 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
837832kind : ClusterRole
838833apiVersion : rbac.authorization.k8s.io/v1
839834metadata :
840835 name : mongodb-enterprise-operator-mongodb-webhook
841836rules :
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