Skip to content

Commit ee716a6

Browse files
author
Anton Lisovenko
committed
fe2c93e9c91eb62a70dcdb8c4217e1f882b68728: update public repo contents
1 parent 798f8f7 commit ee716a6

File tree

7 files changed

+123
-110
lines changed

7 files changed

+123
-110
lines changed

crds.yaml

Lines changed: 6 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,9 @@ spec:
410412
shardCount:
411413
minimum: 1
412414
type: integer
415+
416+
413417
---
414-
# Source: mongodb-enterprise-operator/templates/crds.yaml
415418
apiVersion: apiextensions.k8s.io/v1beta1
416419
kind: CustomResourceDefinition
417420
metadata:
@@ -492,7 +495,6 @@ spec:
492495
- username
493496
- db
494497
---
495-
# Source: mongodb-enterprise-operator/templates/crds.yaml
496498
apiVersion: apiextensions.k8s.io/v1beta1
497499
kind: CustomResourceDefinition
498500
metadata:
@@ -832,7 +834,6 @@ spec:
832834
# prevent you from applying a variety of invalid resource definitions. The
833835
# validating webhooks are optional so this can be removed if necessary.
834836
---
835-
# Source: mongodb-enterprise-operator/templates/crds.yaml
836837
kind: ClusterRole
837838
apiVersion: rbac.authorization.k8s.io/v1
838839
metadata:
@@ -847,3 +848,5 @@ rules:
847848
- create
848849
- update
849850
- delete
851+
852+

helm_chart/templates/operator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
- name: IMAGE_PULL_POLICY
6262
value: {{ .Values.registry.pullPolicy }}
6363
- name: OPS_MANAGER_IMAGE_REPOSITORY
64-
value: {{ .Values.registry.opsManager }}
64+
value: {{ .Values.registry.opsManager }}/{{ .Values.opsManager.name }}
6565
- name: INIT_OPS_MANAGER_IMAGE_REPOSITORY
6666
value: {{ .Values.registry.initOpsManager }}/{{ .Values.initOpsManager.name }}
6767
- name: INIT_OPS_MANAGER_VERSION
@@ -73,7 +73,7 @@ spec:
7373
- name: OPS_MANAGER_IMAGE_PULL_POLICY
7474
value: {{ .Values.registry.pullPolicy }}
7575
- name: APPDB_IMAGE_REPOSITORY
76-
value: {{ .Values.registry.appDb }}
76+
value: {{ .Values.registry.appDb }}/{{ .Values.appDb.name }}
7777

7878
{{- if .Values.registry.imagePullSecrets }}
7979
- name: IMAGE_PULL_SECRETS

mongodb-enterprise-openshift.yaml

Lines changed: 58 additions & 53 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:
@@ -102,7 +58,21 @@ rules:
10258
# definitions. The validating webhooks are optional so this can be removed if
10359
# necessary.
10460
---
105-
# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
61+
kind: ClusterRoleBinding
62+
apiVersion: rbac.authorization.k8s.io/v1
63+
metadata:
64+
name: enterprise-operator-mongodb-webhook-binding
65+
namespace: mongodb
66+
roleRef:
67+
apiGroup: rbac.authorization.k8s.io
68+
kind: ClusterRole
69+
name: mongodb-enterprise-operator-mongodb-webhook
70+
subjects:
71+
- kind: ServiceAccount
72+
name: enterprise-operator
73+
namespace: mongodb
74+
75+
---
10676
kind: RoleBinding
10777
apiVersion: rbac.authorization.k8s.io/v1
10878
metadata:
@@ -119,22 +89,55 @@ subjects:
11989

12090
# This ClusterRole is needed if the user wants to use the Kubernetes CA
12191
# infrastructure to generate certificates.
92+
---
93+
kind: ClusterRole
94+
apiVersion: rbac.authorization.k8s.io/v1
95+
metadata:
96+
name: enterprise-operator-mongodb-certs
97+
rules:
98+
- apiGroups:
99+
- certificates.k8s.io
100+
resources:
101+
- certificatesigningrequests
102+
verbs:
103+
- get
104+
- create
105+
- list
106+
- watch
107+
108+
---
109+
kind: ClusterRoleBinding
110+
apiVersion: rbac.authorization.k8s.io/v1
111+
metadata:
112+
name: enterprise-operator-mongodb-certs-binding
113+
namespace: mongodb
114+
roleRef:
115+
apiGroup: rbac.authorization.k8s.io
116+
kind: ClusterRole
117+
name: enterprise-operator-mongodb-certs
118+
subjects:
119+
- kind: ServiceAccount
120+
name: enterprise-operator
121+
namespace: mongodb
122+
123+
122124
---
123125
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
126+
---
124127
apiVersion: v1
125128
kind: ServiceAccount
126129
metadata:
127130
name: mongodb-enterprise-appdb
128131
namespace: mongodb
132+
129133
---
130-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
131134
apiVersion: v1
132135
kind: ServiceAccount
133136
metadata:
134137
name: mongodb-enterprise-database-pods
135138
namespace: mongodb
139+
136140
---
137-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
138141
kind: Role
139142
apiVersion: rbac.authorization.k8s.io/v1
140143
metadata:
@@ -147,8 +150,8 @@ rules:
147150
- configmaps
148151
verbs:
149152
- get
153+
150154
---
151-
# Source: mongodb-enterprise-operator/templates/database-roles.yaml
152155
kind: RoleBinding
153156
apiVersion: rbac.authorization.k8s.io/v1
154157
metadata:
@@ -162,8 +165,10 @@ subjects:
162165
- kind: ServiceAccount
163166
name: mongodb-enterprise-appdb
164167
namespace: mongodb
168+
165169
---
166170
# Source: mongodb-enterprise-operator/templates/operator.yaml
171+
---
167172
apiVersion: apps/v1
168173
kind: Deployment
169174
metadata:
@@ -209,7 +214,7 @@ spec:
209214
- name: IMAGE_PULL_POLICY
210215
value: Always
211216
- name: OPS_MANAGER_IMAGE_REPOSITORY
212-
value: registry.connect.redhat.com/mongodb
217+
value: registry.connect.redhat.com/mongodb/mongodb-enterprise-ops-manager
213218
- name: INIT_OPS_MANAGER_IMAGE_REPOSITORY
214219
value: registry.connect.redhat.com/mongodb/mongodb-enterprise-init-ops-manager
215220
- name: INIT_OPS_MANAGER_VERSION
@@ -221,4 +226,4 @@ spec:
221226
- name: OPS_MANAGER_IMAGE_PULL_POLICY
222227
value: Always
223228
- name: APPDB_IMAGE_REPOSITORY
224-
value: registry.connect.redhat.com/mongodb
229+
value: registry.connect.redhat.com/mongodb/mongodb-enterprise-appdb

0 commit comments

Comments
 (0)