Skip to content

Commit 965d580

Browse files
committed
6309ef0f4a0e27867736c9d0c61bbbdb44814783: update public repo contents
1 parent dac8c2a commit 965d580

File tree

7 files changed

+133
-116
lines changed

7 files changed

+133
-116
lines changed

crds.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
# Source: mongodb-enterprise-operator/templates/crds.yaml
3+
4+
---
35
apiVersion: apiextensions.k8s.io/v1beta1
46
kind: CustomResourceDefinition
57
metadata:
@@ -410,8 +412,8 @@ spec:
410412
shardCount:
411413
minimum: 1
412414
type: integer
415+
413416
---
414-
# Source: mongodb-enterprise-operator/templates/crds.yaml
415417
apiVersion: apiextensions.k8s.io/v1beta1
416418
kind: CustomResourceDefinition
417419
metadata:
@@ -491,8 +493,8 @@ spec:
491493
required:
492494
- username
493495
- db
496+
494497
---
495-
# Source: mongodb-enterprise-operator/templates/crds.yaml
496498
apiVersion: apiextensions.k8s.io/v1beta1
497499
kind: CustomResourceDefinition
498500
metadata:
@@ -833,7 +835,6 @@ spec:
833835
# prevent you from applying a variety of invalid resource definitions. The
834836
# validating webhooks are optional so this can be removed if necessary.
835837
---
836-
# Source: mongodb-enterprise-operator/templates/crds.yaml
837838
kind: ClusterRole
838839
apiVersion: rbac.authorization.k8s.io/v1
839840
metadata:

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.2
3+
version: 1.5.3
44
kubeVersion: '>=1.13'
55
keywords:
66
- mongodb

helm_chart/templates/operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
- name: {{ .Values.registry.imagePullSecrets }}
2828
{{- end }}
2929
containers:
30-
- name: {{ .Values.operator.name }}
30+
- name: {{ .Values.operator.deployment_name }}
3131
image: {{ .Values.registry.operator }}/{{ .Values.operator.name }}:{{ .Values.operator.version }}
3232
imagePullPolicy: {{ .Values.registry.pullPolicy }}
3333
{{- if .Values.operator.watchedResources }}

helm_chart/values-openshift.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ operator:
1414
# Name that will be assigned to most of internal Kubernetes objects like Deployment, ServiceAccount, Role etc.
1515
name: enterprise-operator
1616

17+
# Name of the deployment of the operator pod
18+
deployment_name: mongodb-enterprise-operator
19+
1720
# Version of mongodb-enterprise-operator and mongodb-enterprise-database images
18-
version: 1.5.2
21+
version: 1.5.3
1922

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

helm_chart/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ operator:
1515
# Name that will be assigned to most of internal Kubernetes objects like Deployment, ServiceAccount, Role etc.
1616
name: mongodb-enterprise-operator
1717

18+
# Name of the deployment of the operator pod
19+
deployment_name: mongodb-enterprise-operator
20+
1821
# Version of mongodb-enterprise-operator and mongodb-enterprise-database images
19-
version: 1.5.2
22+
version: 1.5.3
2023

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

mongodb-enterprise-openshift.yaml

Lines changed: 60 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,14 @@
11
---
22
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
3+
---
34
apiVersion: v1
45
kind: ServiceAccount
56
metadata:
67
name: enterprise-operator
78
namespace: mongodb
9+
10+
811
---
9-
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
10-
kind: ClusterRole
11-
apiVersion: rbac.authorization.k8s.io/v1
12-
metadata:
13-
name: enterprise-operator-mongodb-certs
14-
rules:
15-
- apiGroups:
16-
- certificates.k8s.io
17-
resources:
18-
- certificatesigningrequests
19-
verbs:
20-
- get
21-
- create
22-
- list
23-
- watch
24-
---
25-
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
26-
kind: ClusterRoleBinding
27-
apiVersion: rbac.authorization.k8s.io/v1
28-
metadata:
29-
name: enterprise-operator-mongodb-webhook-binding
30-
namespace: mongodb
31-
roleRef:
32-
apiGroup: rbac.authorization.k8s.io
33-
kind: ClusterRole
34-
name: mongodb-enterprise-operator-mongodb-webhook
35-
subjects:
36-
- kind: ServiceAccount
37-
name: enterprise-operator
38-
namespace: mongodb
39-
---
40-
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
41-
kind: ClusterRoleBinding
42-
apiVersion: rbac.authorization.k8s.io/v1
43-
metadata:
44-
name: enterprise-operator-mongodb-certs-binding
45-
namespace: mongodb
46-
roleRef:
47-
apiGroup: rbac.authorization.k8s.io
48-
kind: ClusterRole
49-
name: enterprise-operator-mongodb-certs
50-
subjects:
51-
- kind: ServiceAccount
52-
name: enterprise-operator
53-
namespace: mongodb
54-
---
55-
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
5612
kind: Role
5713
apiVersion: rbac.authorization.k8s.io/v1
5814
metadata:
@@ -101,7 +57,21 @@ rules:
10157
# definitions. The validating webhooks are optional so this can be removed if
10258
# necessary.
10359
---
104-
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
60+
kind: ClusterRoleBinding
61+
apiVersion: rbac.authorization.k8s.io/v1
62+
metadata:
63+
name: enterprise-operator-mongodb-webhook-binding
64+
namespace: mongodb
65+
roleRef:
66+
apiGroup: rbac.authorization.k8s.io
67+
kind: ClusterRole
68+
name: mongodb-enterprise-operator-mongodb-webhook
69+
subjects:
70+
- kind: ServiceAccount
71+
name: enterprise-operator
72+
namespace: mongodb
73+
74+
---
10575
kind: RoleBinding
10676
apiVersion: rbac.authorization.k8s.io/v1
10777
metadata:
@@ -118,29 +88,62 @@ subjects:
11888

11989
# This ClusterRole is needed if the user wants to use the Kubernetes CA
12090
# infrastructure to generate certificates.
91+
---
92+
kind: ClusterRole
93+
apiVersion: rbac.authorization.k8s.io/v1
94+
metadata:
95+
name: enterprise-operator-mongodb-certs
96+
rules:
97+
- apiGroups:
98+
- certificates.k8s.io
99+
resources:
100+
- certificatesigningrequests
101+
verbs:
102+
- get
103+
- create
104+
- list
105+
- watch
106+
107+
---
108+
kind: ClusterRoleBinding
109+
apiVersion: rbac.authorization.k8s.io/v1
110+
metadata:
111+
name: enterprise-operator-mongodb-certs-binding
112+
namespace: mongodb
113+
roleRef:
114+
apiGroup: rbac.authorization.k8s.io
115+
kind: ClusterRole
116+
name: enterprise-operator-mongodb-certs
117+
subjects:
118+
- kind: ServiceAccount
119+
name: enterprise-operator
120+
namespace: mongodb
121+
122+
121123
---
122124
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
125+
---
123126
apiVersion: v1
124127
kind: ServiceAccount
125128
metadata:
126129
name: mongodb-enterprise-appdb
127130
namespace: mongodb
131+
128132
---
129-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
130133
apiVersion: v1
131134
kind: ServiceAccount
132135
metadata:
133136
name: mongodb-enterprise-database-pods
134137
namespace: mongodb
138+
135139
---
136-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
137140
apiVersion: v1
138141
kind: ServiceAccount
139142
metadata:
140143
name: mongodb-enterprise-ops-manager
141144
namespace: mongodb
145+
142146
---
143-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
144147
kind: Role
145148
apiVersion: rbac.authorization.k8s.io/v1
146149
metadata:
@@ -153,8 +156,8 @@ rules:
153156
- configmaps
154157
verbs:
155158
- get
159+
156160
---
157-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
158161
kind: RoleBinding
159162
apiVersion: rbac.authorization.k8s.io/v1
160163
metadata:
@@ -168,8 +171,10 @@ subjects:
168171
- kind: ServiceAccount
169172
name: mongodb-enterprise-appdb
170173
namespace: mongodb
174+
171175
---
172176
# Source: mongodb-enterprise-operator/templates/operator.yaml
177+
---
173178
apiVersion: apps/v1
174179
kind: Deployment
175180
metadata:
@@ -187,8 +192,8 @@ spec:
187192
spec:
188193
serviceAccountName: enterprise-operator
189194
containers:
190-
- name: enterprise-operator
191-
image: registry.connect.redhat.com/mongodb/enterprise-operator:1.5.2
195+
- name: mongodb-enterprise-operator
196+
image: registry.connect.redhat.com/mongodb/enterprise-operator:1.5.3
192197
imagePullPolicy: Always
193198
args:
194199
- "-watch-resource=mongodb"
@@ -210,7 +215,7 @@ spec:
210215
- name: MANAGED_SECURITY_CONTEXT
211216
value: 'true'
212217
- name: MONGODB_ENTERPRISE_DATABASE_IMAGE
213-
value: registry.connect.redhat.com/mongodb/enterprise-database:1.5.2
218+
value: registry.connect.redhat.com/mongodb/enterprise-database:1.5.3
214219
- name: IMAGE_PULL_POLICY
215220
value: Always
216221
- name: OPS_MANAGER_IMAGE_REPOSITORY

0 commit comments

Comments
 (0)