File tree Expand file tree Collapse file tree 7 files changed +96
-12
lines changed
charts/mongodb-kubernetes Expand file tree Collapse file tree 7 files changed +96
-12
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: |
44 MongoDB Controllers for Kubernetes translate the human knowledge of
55 creating a MongoDB instance into a scalable, repeatable, and standardized
66 method.
7- version : 1.6.1
7+ version : 1.7.0
88kubeVersion : ' >=1.16-0'
99type : application
1010keywords :
Original file line number Diff line number Diff line change 5252 type : object
5353 spec :
5454 properties :
55+ autoEmbedding :
56+ description : |-
57+ Configure MongoDB Search's automatic generation of vector embeddings using an embedding model service.
58+ `embedding` field of mongot config is generated using the values provided here.
59+ properties :
60+ embeddingModelAPIKeySecret :
61+ description : |-
62+ EmbeddingModelAPIKeySecret would have the name of the secret that has two keys
63+ query-key and indexing-key for embedding model's API keys.
64+ properties :
65+ name :
66+ default : " "
67+ description : |-
68+ Name of the referent.
69+ This field is effectively required, but due to backwards compatibility is
70+ allowed to be empty. Instances of this type with an empty value here are
71+ almost certainly wrong.
72+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
73+ type : string
74+ type : object
75+ x-kubernetes-map-type : atomic
76+ providerEndpoint :
77+ type : string
78+ required :
79+ - embeddingModelAPIKeySecret
80+ type : object
5581 logLevel :
5682 description : Configure verbosity of mongot logs. Defaults to INFO
5783 if not set.
Original file line number Diff line number Diff line change @@ -1283,6 +1283,11 @@ spec:
12831283 type : object
12841284 name :
12851285 type : string
1286+ objectLockEnabled :
1287+ description : |-
1288+ ObjectLockEnabled indicates whether S3 Object Lock is enabled for the bucket.
1289+ This should be enabled to leverage Immutable Backups.
1290+ type : boolean
12861291 pathStyleAccessEnabled :
12871292 type : boolean
12881293 s3BucketEndpoint :
@@ -1375,6 +1380,11 @@ spec:
13751380 type : object
13761381 name :
13771382 type : string
1383+ objectLockEnabled :
1384+ description : |-
1385+ ObjectLockEnabled indicates whether S3 Object Lock is enabled for the bucket.
1386+ This should be enabled to leverage Immutable Backups.
1387+ type : boolean
13781388 pathStyleAccessEnabled :
13791389 type : boolean
13801390 s3BucketEndpoint :
Original file line number Diff line number Diff line change 6161 command :
6262 - /usr/local/bin/mongodb-kubernetes-operator
6363 {{- end }}
64- {{- if .Values.multiCluster.clusters }}
6564 volumeMounts :
65+ - mountPath : /tmp/k8s-webhook-server/serving-certs
66+ name : webhook-server-dir
67+ {{- if .Values.multiCluster.clusters }}
6668 - mountPath : /etc/config/kubeconfig
6769 name : kube-config-volume
6870 {{- end }}
@@ -213,6 +215,10 @@ spec:
213215 - name : MDB_WEBHOOK_REGISTER_CONFIGURATION
214216 value : " false"
215217 {{- end }}
218+ {{- if .Values.operator.webhook.name }}
219+ - name : MDB_WEBHOOK_NAME
220+ value : {{ .Values.operator.webhook.name | quote }}
221+ {{- end }}
216222 {{- if .Values.operator.maxConcurrentReconciles }}
217223 - name : MDB_MAX_CONCURRENT_RECONCILES
218224 value : " {{ .Values.operator.maxConcurrentReconciles }}"
@@ -278,13 +284,15 @@ spec:
278284 value : ' {{ (splitn "=" 2 .)._1 }}'
279285 {{- end }}
280286 {{- end }}
281- {{- if .Values.multiCluster.clusters }}
282287 volumes :
288+ - name : webhook-server-dir
289+ emptyDir : {}
290+ {{- if .Values.multiCluster.clusters }}
283291 - name : kube-config-volume
284292 secret :
285293 defaultMode : 420
286294 secretName : {{ .Values.multiCluster.kubeConfigSecretName }}
287- {{- end }}
295+ {{- end }}
288296
289297{{- with .Values.operator }}
290298 {{- with .nodeSelector }}
Original file line number Diff line number Diff line change @@ -140,3 +140,21 @@ tests:
140140 - equal :
141141 path : spec.template.spec.containers[?(@.name=="mongodb-kubernetes-operator-multi-cluster")].securityContext.capabilities.drop
142142 value : [ ALL ]
143+ - it : webhook server certificate volume mount exists
144+ asserts :
145+ - exists :
146+ path : spec.template.spec.containers[?(@.name=="mongodb-kubernetes-operator")].volumeMounts[?(@.name=="webhook-server-dir")]
147+ - equal :
148+ path : spec.template.spec.containers[?(@.name=="mongodb-kubernetes-operator")].volumeMounts[?(@.name=="webhook-server-dir")].mountPath
149+ value : /tmp/k8s-webhook-server/serving-certs
150+ - exists :
151+ path : spec.template.spec.volumes[?(@.name=="webhook-server-dir")]
152+ - it : webhook server certificate volume mount exists
153+ asserts :
154+ - exists :
155+ path : spec.template.spec.containers[?(@.name=="mongodb-kubernetes-operator")].volumeMounts[?(@.name=="webhook-server-dir")]
156+ - equal :
157+ path : spec.template.spec.containers[?(@.name=="mongodb-kubernetes-operator")].volumeMounts[?(@.name=="webhook-server-dir")].mountPath
158+ value : /tmp/k8s-webhook-server/serving-certs
159+ - exists :
160+ path : spec.template.spec.volumes[?(@.name=="webhook-server-dir")]
Original file line number Diff line number Diff line change @@ -23,11 +23,18 @@ operator:
2323 # - ValidatingWebhookConfigurations will be managed by the operator (requires cluster permissions)
2424 registerConfiguration : true
2525
26+ # name: Custom name for the ValidatingWebhookConfiguration resource.
27+ # Default (when not set): "mdbpolicy.mongodb.com"
28+ # Use this to allow multiple operator instances on the same cluster.
29+ # Example:
30+ # name: "mdbpolicy.my-namespace.mongodb.com"
31+ name : ' '
32+
2633 # Versions listed here are used to populate RELATED_IMAGE_ env variables in the operator deployment.
2734 # Environment variables prefixed with RELATED_IMAGE_ are used by operator-sdk to generate relatedImages section
2835 # with sha256 digests pinning for the certified operator bundle with disconnected environment feature enabled.
2936 # https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/osdk-generating-csvs.html#olm-enabling-operator-for-restricted-network_osdk-generating-csvs
30- version : 1.6.1
37+ version : 1.7.0
3138relatedImages :
3239 opsManager :
3340 - 6.0.26
@@ -41,6 +48,8 @@ relatedImages:
4148 - 7.0.18
4249 - 7.0.19
4350 - 7.0.20
51+ - 7.0.21
52+ - 7.0.22
4453 - 8.0.0
4554 - 8.0.1
4655 - 8.0.2
@@ -56,6 +65,8 @@ relatedImages:
5665 - 8.0.15
5766 - 8.0.16
5867 - 8.0.17
68+ - 8.0.18
69+ - 8.0.19
5970 mongodb :
6071 - 4.4.0-ubi8
6172 - 4.4.1-ubi8
@@ -114,19 +125,23 @@ relatedImages:
114125 - 107.0.18.8784-1
115126 - 107.0.19.8805-1
116127 - 107.0.20.8807-1
128+ - 107.0.21.8817-1
129+ - 107.0.22.8828-1
117130 - 108.0.1.8718-1
118131 - 108.0.11.8830-1
119132 - 108.0.12.8846-1
120133 - 108.0.13.8870-1
121134 - 108.0.15.8888-1
122135 - 108.0.16.8895-1
136+ - 108.0.18.8921-1
137+ - 108.0.19.8941-1
123138 - 108.0.2.8729-1
124139 - 108.0.3.8758-1
125140 - 108.0.4.8770-1
126141 - 108.0.6.8796-1
127142 - 108.0.7.8810-1
128143 - 12.0.35.7911-1
129- - 13.44 .0.10034 -1
144+ - 13.46 .0.10171 -1
130145 mongodbLegacyAppDb :
131146 - 4.2.11-ent
132147 - 4.2.2-ent
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ operator:
2222 deployment_name : mongodb-kubernetes-operator
2323
2424 # Version of mongodb-kubernetes-operator
25- version : 1.6.1
25+ version : 1.7.0
2626
2727 # The Custom Resources that will be watched by the Operator. Needs to be changed if only some of the CRDs are installed
2828 watchedResources :
@@ -113,6 +113,13 @@ operator:
113113 # - ValidatingWebhookConfigurations will be managed by the operator.
114114 registerConfiguration : true
115115
116+ # name: Custom name for the ValidatingWebhookConfiguration resource.
117+ # Default (when not set): "mdbpolicy.mongodb.com"
118+ # Use this to allow multiple operator instances on the same cluster.
119+ # Example:
120+ # name: "mdbpolicy.my-namespace.mongodb.com"
121+ name : ' '
122+
116123 telemetry :
117124 collection :
118125 clusters : {}
@@ -129,24 +136,24 @@ operator:
129136# # Database
130137database :
131138 name : mongodb-kubernetes-database
132- version : 1.6.1
139+ version : 1.7.0
133140
134141initDatabase :
135142 name : mongodb-kubernetes-init-database
136- version : 1.6.1
143+ version : 1.7.0
137144
138145# # Ops Manager
139146opsManager :
140147 name : mongodb-enterprise-ops-manager-ubi
141148
142149initOpsManager :
143150 name : mongodb-kubernetes-init-ops-manager
144- version : 1.6.1
151+ version : 1.7.0
145152
146153# # Application Database
147154initAppDb :
148155 name : mongodb-kubernetes-init-appdb
149- version : 1.6.1
156+ version : 1.7.0
150157
151158agent :
152159 name : mongodb-agent
@@ -227,4 +234,4 @@ search:
227234 repo : quay.io/mongodb
228235 name : mongodb-search
229236 # default MongoDB Search version used; can be overridden by setting MongoDBSearch.spec.version field.
230- version : 0.55.0
237+ version : 0.60.1
You can’t perform that action at this time.
0 commit comments