Skip to content

Commit 51dd2c7

Browse files
author
Rodrigo Valin
committed
c1eb59bf9118a9663c14a56cd705c3e31f14a4c0: update public repo contents
1 parent 068acc6 commit 51dd2c7

15 files changed

+120
-34
lines changed

crds.yaml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,6 @@ spec:
9090

9191
additionalMongodConfig:
9292
type: object
93-
properties:
94-
net:
95-
type: object
96-
properties:
97-
ssl:
98-
type: object
99-
properties:
100-
mode:
101-
type: string
102-
enum: ["disabled", "allowSSL", "preferSSL", "requireSSL", "allowTLS", "preferTLS", "requireTLS"]
10393

10494
exposedExternally:
10595
type: boolean
@@ -408,15 +398,33 @@ spec:
408398
labelSelector:
409399
type: object
410400
configServerCount:
401+
minimum: 1
411402
type: integer
412403
mongodsPerShardCount:
404+
minimum: 1
413405
type: integer
414406
mongosCount:
415407
minimum: 1
416408
type: integer
417409
shardCount:
418410
minimum: 1
419411
type: integer
412+
mongos:
413+
type: object
414+
properties:
415+
additionalMongodConfig:
416+
type: object
417+
configSrv:
418+
type: object
419+
properties:
420+
additionalMongodConfig:
421+
type: object
422+
shard:
423+
type: object
424+
properties:
425+
additionalMongodConfig:
426+
type: object
427+
420428
---
421429
apiVersion: apiextensions.k8s.io/v1beta1
422430
kind: CustomResourceDefinition
@@ -832,7 +840,6 @@ spec:
832840
required:
833841
- version
834842
- applicationDatabase
835-
836843
---
837844
kind: ClusterRole
838845
apiVersion: rbac.authorization.k8s.io/v1

helm_chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mongodb-enterprise-operator
22
description: MongoDB Kubernetes Enterprise Operator
3-
version: 1.5.4
3+
version: 1.5.5
44
kubeVersion: '>=1.13'
55
keywords:
66
- mongodb

helm_chart/crds/mongodb.mongodb.com.yaml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: apiextensions.k8s.io/v1beta1
23
kind: CustomResourceDefinition
34
metadata:
@@ -89,16 +90,6 @@ spec:
8990

9091
additionalMongodConfig:
9192
type: object
92-
properties:
93-
net:
94-
type: object
95-
properties:
96-
ssl:
97-
type: object
98-
properties:
99-
mode:
100-
type: string
101-
enum: ["disabled", "allowSSL", "preferSSL", "requireSSL", "allowTLS", "preferTLS", "requireTLS"]
10293

10394
exposedExternally:
10495
type: boolean
@@ -407,12 +398,30 @@ spec:
407398
labelSelector:
408399
type: object
409400
configServerCount:
401+
minimum: 1
410402
type: integer
411403
mongodsPerShardCount:
404+
minimum: 1
412405
type: integer
413406
mongosCount:
414407
minimum: 1
415408
type: integer
416409
shardCount:
417410
minimum: 1
418411
type: integer
412+
mongos:
413+
type: object
414+
properties:
415+
additionalMongodConfig:
416+
type: object
417+
configSrv:
418+
type: object
419+
properties:
420+
additionalMongodConfig:
421+
type: object
422+
shard:
423+
type: object
424+
properties:
425+
additionalMongodConfig:
426+
type: object
427+

helm_chart/crds/mongodbusers.mongodb.com.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: apiextensions.k8s.io/v1beta1
23
kind: CustomResourceDefinition
34
metadata:

helm_chart/crds/opsmanagers.mongodb.com.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: apiextensions.k8s.io/v1beta1
23
kind: CustomResourceDefinition
34
metadata:

helm_chart/crds/webhook-cluster-role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
kind: ClusterRole
23
apiVersion: rbac.authorization.k8s.io/v1
34
metadata:

helm_chart/templates/database-roles.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ metadata:
88
{{- else }}
99
namespace: {{ .Values.namespace }}
1010
{{- end }}
11+
{{- if .Values.registry.imagePullSecrets}}
12+
imagePullSecrets:
13+
- name: {{ .Values.registry.imagePullSecrets }}
14+
{{- end }}
1115

1216
---
1317
apiVersion: v1
@@ -19,6 +23,10 @@ metadata:
1923
{{- else }}
2024
namespace: {{ .Values.namespace }}
2125
{{- end }}
26+
{{- if .Values.registry.imagePullSecrets}}
27+
imagePullSecrets:
28+
- name: {{ .Values.registry.imagePullSecrets }}
29+
{{- end }}
2230

2331
---
2432
apiVersion: v1
@@ -30,6 +38,10 @@ metadata:
3038
{{- else }}
3139
namespace: {{ .Values.namespace }}
3240
{{- end }}
41+
{{- if .Values.registry.imagePullSecrets}}
42+
imagePullSecrets:
43+
- name: {{ .Values.registry.imagePullSecrets }}
44+
{{- end }}
3345

3446
---
3547
kind: Role

helm_chart/templates/operator-roles.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ metadata:
66
{{- if .Values.namespace }}
77
namespace: {{ .Values.namespace }}
88
{{- end }}
9+
{{- if .Values.registry.imagePullSecrets}}
10+
imagePullSecrets:
11+
- name: {{ .Values.registry.imagePullSecrets }}
12+
{{- end }}
913

1014

1115
---

helm_chart/values-openshift.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Create the CustomerResourceDefinition for MongoDB custom types.
2-
createCrds: true
3-
41
# Name of the Namespace to use
52
namespace: mongodb
63

@@ -18,7 +15,7 @@ operator:
1815
deployment_name: mongodb-enterprise-operator
1916

2017
# Version of mongodb-enterprise-operator and mongodb-enterprise-database images
21-
version: 1.5.4
18+
version: 1.5.5
2219

2320
# The Custom Resources that will be watched by the Operator. Needs to be changed if only some of the CRDs are installed
2421
watchedResources:

helm_chart/values.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Create the CustomerResourceDefinition for MongoDB custom types.
2-
createCrds: true
3-
41
# Name of the Namespace to use
52
namespace: mongodb
63

@@ -19,7 +16,7 @@ operator:
1916
deployment_name: mongodb-enterprise-operator
2017

2118
# Version of mongodb-enterprise-operator and mongodb-enterprise-database images
22-
version: 1.5.4
19+
version: 1.5.5
2320

2421
# The Custom Resources that will be watched by the Operator. Needs to be changed if only some of the CRDs are installed
2522
watchedResources:

0 commit comments

Comments
 (0)