11---
22# Source: mongodb-enterprise-operator/templates/operator-roles.yaml
3- ---
43apiVersion : v1
54kind : ServiceAccount
65metadata :
76 name : enterprise-operator
87 namespace : mongodb
9-
10-
118---
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
1256kind : Role
1357apiVersion : rbac.authorization.k8s.io/v1
1458metadata :
@@ -57,21 +101,7 @@ rules:
57101# definitions. The validating webhooks are optional so this can be removed if
58102# necessary.
59103---
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- ---
104+ # Source: mongodb-enterprise-operator/templates/operator-roles.yaml
75105kind : RoleBinding
76106apiVersion : rbac.authorization.k8s.io/v1
77107metadata :
@@ -88,62 +118,29 @@ subjects:
88118
89119# This ClusterRole is needed if the user wants to use the Kubernetes CA
90120# 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-
123121---
124122# Source: mongodb-enterprise-operator/templates/database-roles.yaml
125- ---
126123apiVersion : v1
127124kind : ServiceAccount
128125metadata :
129126 name : mongodb-enterprise-appdb
130127 namespace : mongodb
131-
132128---
129+ # Source: mongodb-enterprise-operator/templates/database-roles.yaml
133130apiVersion : v1
134131kind : ServiceAccount
135132metadata :
136133 name : mongodb-enterprise-database-pods
137134 namespace : mongodb
138-
139135---
136+ # Source: mongodb-enterprise-operator/templates/database-roles.yaml
140137apiVersion : v1
141138kind : ServiceAccount
142139metadata :
143140 name : mongodb-enterprise-ops-manager
144141 namespace : mongodb
145-
146142---
143+ # Source: mongodb-enterprise-operator/templates/database-roles.yaml
147144kind : Role
148145apiVersion : rbac.authorization.k8s.io/v1
149146metadata :
@@ -156,8 +153,8 @@ rules:
156153 - configmaps
157154 verbs :
158155 - get
159-
160156---
157+ # Source: mongodb-enterprise-operator/templates/database-roles.yaml
161158kind : RoleBinding
162159apiVersion : rbac.authorization.k8s.io/v1
163160metadata :
@@ -171,10 +168,8 @@ subjects:
171168 - kind : ServiceAccount
172169 name : mongodb-enterprise-appdb
173170 namespace : mongodb
174-
175171---
176172# Source: mongodb-enterprise-operator/templates/operator.yaml
177- ---
178173apiVersion : apps/v1
179174kind : Deployment
180175metadata :
@@ -223,11 +218,11 @@ spec:
223218 - name : INIT_OPS_MANAGER_IMAGE_REPOSITORY
224219 value : registry.connect.redhat.com/mongodb/mongodb-enterprise-init-ops-manager
225220 - name : INIT_OPS_MANAGER_VERSION
226- value : 1.0.0
221+ value : 1.0.1
227222 - name : INIT_APPDB_IMAGE_REPOSITORY
228223 value : registry.connect.redhat.com/mongodb/mongodb-enterprise-init-appdb
229224 - name : INIT_APPDB_VERSION
230- value : 1.0.0
225+ value : 1.0.1
231226 - name : OPS_MANAGER_IMAGE_PULL_POLICY
232227 value : Always
233228 - name : APPDB_IMAGE_REPOSITORY
0 commit comments