Skip to content

Commit 4f80c49

Browse files
authored
Release MCK 1.4.0 (#500)
1 parent 1cfef32 commit 4f80c49

File tree

5 files changed

+131
-25
lines changed

5 files changed

+131
-25
lines changed

charts/mongodb-kubernetes/Chart.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
apiVersion: v2
22
name: mongodb-kubernetes
3-
description: MongoDB Controllers for Kubernetes translate the human knowledge of
3+
description: |
4+
MongoDB Controllers for Kubernetes translate the human knowledge of
45
creating a MongoDB instance into a scalable, repeatable, and standardized
56
method.
6-
version: 1.3.0
7+
version: 1.4.0
78
kubeVersion: '>=1.16-0'
89
type: application
910
keywords:

charts/mongodb-kubernetes/crds/mongodb.com_mongodbsearch.yaml

Lines changed: 103 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,19 @@ spec:
4848
type: object
4949
spec:
5050
properties:
51+
logLevel:
52+
description: Configure verbosity of mongot logs. Defaults to INFO
53+
if not set.
54+
enum:
55+
- TRACE
56+
- DEBUG
57+
- INFO
58+
- WARN
59+
- ERROR
60+
type: string
5161
persistence:
62+
description: Configure MongoDB Search's persistent volume. If not
63+
defined, the operator will request 10GB of storage.
5264
properties:
5365
multiple:
5466
properties:
@@ -95,7 +107,8 @@ spec:
95107
type: object
96108
type: object
97109
resourceRequirements:
98-
description: ResourceRequirements describes the compute resource requirements.
110+
description: Configure resource requests and limits for the MongoDB
111+
Search pods.
99112
properties:
100113
claims:
101114
description: |-
@@ -153,8 +166,77 @@ spec:
153166
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
154167
type: object
155168
type: object
169+
security:
170+
description: Configure security settings of the MongoDB Search server
171+
that MongoDB database is connecting to when performing search queries.
172+
properties:
173+
tls:
174+
properties:
175+
certificateKeySecretRef:
176+
description: |-
177+
CertificateKeySecret is a reference to a Secret containing a private key and certificate to use for TLS.
178+
The key and cert are expected to be PEM encoded and available at "tls.key" and "tls.crt".
179+
This is the same format used for the standard "kubernetes.io/tls" Secret type, but no specific type is required.
180+
properties:
181+
name:
182+
default: ""
183+
description: |-
184+
Name of the referent.
185+
This field is effectively required, but due to backwards compatibility is
186+
allowed to be empty. Instances of this type with an empty value here are
187+
almost certainly wrong.
188+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
189+
type: string
190+
type: object
191+
x-kubernetes-map-type: atomic
192+
required:
193+
- certificateKeySecretRef
194+
type: object
195+
type: object
156196
source:
197+
description: MongoDB database connection details from which MongoDB
198+
Search will synchronize data to build indexes.
157199
properties:
200+
external:
201+
properties:
202+
hostAndPorts:
203+
items:
204+
type: string
205+
type: array
206+
keyfileSecretRef:
207+
description: mongod keyfile used to connect to the external
208+
MongoDB deployment
209+
properties:
210+
key:
211+
type: string
212+
name:
213+
type: string
214+
required:
215+
- name
216+
type: object
217+
tls:
218+
description: TLS configuration for the external MongoDB deployment
219+
properties:
220+
ca:
221+
description: |-
222+
CA is a reference to a Secret containing the CA certificate that issued mongod's TLS certificate.
223+
The CA certificate is expected to be PEM encoded and available at the "ca.crt" key.
224+
properties:
225+
name:
226+
default: ""
227+
description: |-
228+
Name of the referent.
229+
This field is effectively required, but due to backwards compatibility is
230+
allowed to be empty. Instances of this type with an empty value here are
231+
almost certainly wrong.
232+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
233+
type: string
234+
type: object
235+
x-kubernetes-map-type: atomic
236+
required:
237+
- ca
238+
type: object
239+
type: object
158240
mongodbResourceRef:
159241
properties:
160242
name:
@@ -164,11 +246,26 @@ spec:
164246
required:
165247
- name
166248
type: object
249+
passwordSecretRef:
250+
description: |-
251+
SecretKeyRef is a reference to a value in a given secret in the same
252+
namespace. Based on:
253+
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#secretkeyselector-v1-core
254+
properties:
255+
key:
256+
type: string
257+
name:
258+
type: string
259+
required:
260+
- name
261+
type: object
262+
username:
263+
type: string
167264
type: object
168265
statefulSet:
169266
description: |-
170-
StatefulSetConfiguration holds the optional custom StatefulSet
171-
that should be merged into the operator created one.
267+
StatefulSetSpec which the operator will apply to the MongoDB Search StatefulSet at the end of the reconcile loop. Use to provide necessary customizations,
268+
which aren't exposed as fields in the MongoDBSearch.spec.
172269
properties:
173270
metadata:
174271
description: StatefulSetMetadataWrapper is a wrapper around Labels
@@ -190,6 +287,9 @@ spec:
190287
- spec
191288
type: object
192289
version:
290+
description: Optional version of MongoDB Search component (mongot).
291+
If not set, then the operator will set the most appropriate version
292+
of MongoDB Search.
193293
type: string
194294
type: object
195295
status:

charts/mongodb-kubernetes/templates/operator.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,18 @@ spec:
262262
- name: RELATED_IMAGE_{{ $mongodbImageEnv }}_{{ $version | replace "." "_" | replace "-" "_" }}
263263
value: "{{ $.Values.mongodb.repo }}/{{ $.Values.mongodb.name }}:{{ $version }}"
264264
{{- end }}
265+
{{- if .Values.search }}
266+
- name: RELATED_IMAGE_MDB_SEARCH_IMAGE_{{ .Values.search.version | replace "." "_" | replace "-" "_" }}
267+
value: "{{ .Values.search.repo }}/{{ .Values.search.name }}:{{ $.Values.search.version }}"
268+
{{- end }}
265269
{{- end }}
266270
{{- if .Values.search }}
267-
- name: MDB_SEARCH_COMMUNITY_REPO_URL
268-
value: "{{ .Values.search.community.repo }}"
269-
- name: MDB_SEARCH_COMMUNITY_NAME
270-
value: "{{ .Values.search.community.name }}"
271-
- name: MDB_SEARCH_COMMUNITY_VERSION
272-
value: "{{ .Values.search.community.version }}"
271+
- name: MDB_SEARCH_REPO_URL
272+
value: "{{ .Values.search.repo }}"
273+
- name: MDB_SEARCH_NAME
274+
value: "{{ .Values.search.name }}"
275+
- name: MDB_SEARCH_VERSION
276+
value: "{{ .Values.search.version }}"
273277
{{- end }}
274278
{{- if .Values.customEnvVars }}
275279
{{- range split "&" .Values.customEnvVars }}

charts/mongodb-kubernetes/values-openshift.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ operator:
2727
# Environment variables prefixed with RELATED_IMAGE_ are used by operator-sdk to generate relatedImages section
2828
# with sha256 digests pinning for the certified operator bundle with disconnected environment feature enabled.
2929
# 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.3.0
30+
version: 1.4.0
3131
relatedImages:
3232
opsManager:
3333
- 6.0.26
@@ -38,6 +38,7 @@ relatedImages:
3838
- 7.0.14
3939
- 7.0.15
4040
- 7.0.17
41+
- 7.0.18
4142
- 8.0.0
4243
- 8.0.1
4344
- 8.0.2
@@ -48,6 +49,7 @@ relatedImages:
4849
- 8.0.7
4950
- 8.0.11
5051
- 8.0.12
52+
- 8.0.13
5153
mongodb:
5254
- 4.4.0-ubi8
5355
- 4.4.1-ubi8
@@ -103,10 +105,12 @@ relatedImages:
103105
- 107.0.13.8702-1
104106
- 107.0.15.8741-1
105107
- 107.0.17.8771-1
108+
- 107.0.18.8784-1
106109
- 108.0.0.8694-1
107110
- 108.0.1.8718-1
108111
- 108.0.11.8830-1
109112
- 108.0.12.8846-1
113+
- 108.0.13.8870-1
110114
- 108.0.2.8729-1
111115
- 108.0.3.8758-1
112116
- 108.0.4.8770-1

charts/mongodb-kubernetes/values.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ operator:
2222
deployment_name: mongodb-kubernetes-operator
2323

2424
# Version of mongodb-kubernetes-operator
25-
version: 1.3.0
25+
version: 1.4.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:
@@ -123,24 +123,24 @@ operator:
123123
## Database
124124
database:
125125
name: mongodb-kubernetes-database
126-
version: 1.3.0
126+
version: 1.4.0
127127

128128
initDatabase:
129129
name: mongodb-kubernetes-init-database
130-
version: 1.3.0
130+
version: 1.4.0
131131

132132
## Ops Manager
133133
opsManager:
134134
name: mongodb-enterprise-ops-manager-ubi
135135

136136
initOpsManager:
137137
name: mongodb-kubernetes-init-ops-manager
138-
version: 1.3.0
138+
version: 1.4.0
139139

140140
## Application Database
141141
initAppDb:
142142
name: mongodb-kubernetes-init-appdb
143-
version: 1.3.0
143+
version: 1.4.0
144144

145145
agent:
146146
name: mongodb-agent
@@ -173,7 +173,6 @@ registry:
173173
initOpsManager: quay.io/mongodb
174174
opsManager: quay.io/mongodb
175175
initAppDb: quay.io/mongodb
176-
appDb: quay.io/mongodb
177176
agent: quay.io/mongodb
178177

179178
# This is only used by the MongoDBCommunity resource reconciler - START
@@ -200,7 +199,6 @@ community:
200199
version: 108.0.2.8729-1
201200
registry:
202201
agent: quay.io/mongodb
203-
name: mongodb-database
204202
resource:
205203
name: mongodb-replica-set
206204
version: 4.4.0
@@ -220,9 +218,8 @@ community:
220218

221219
# MongoDBSearch settings
222220
search:
223-
community:
224-
# Full Search container image url used for the MongoDB Community Search container will be constructed as {search.community.repo}/{search.community.name}:{search.community.version}
225-
repo: quay.io/mongodb
226-
name: mongodb-search-community
227-
# default MongoDB Search version used; can be overridden by setting MongoDBSearch.spec.version field.
228-
version: 1.47.0
221+
# Full Search container image url used for the MongoDB Search container will be constructed as {search.repo}/{search.name}:{search.version}
222+
repo: quay.io/mongodb
223+
name: mongodb-search
224+
# default MongoDB Search version used; can be overridden by setting MongoDBSearch.spec.version field.
225+
version: 0.53.1

0 commit comments

Comments
 (0)