File tree Expand file tree Collapse file tree 1 file changed +92
-0
lines changed Expand file tree Collapse file tree 1 file changed +92
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # Source: mongodb-enterprise-operator/templates/roles.yaml
3+ ---
4+ kind : Role
5+ apiVersion : rbac.authorization.k8s.io/v1
6+ metadata :
7+ name : mongodb-enterprise-operator
8+
9+ rules :
10+ - apiGroups :
11+ - " "
12+ resources :
13+ - configmaps
14+ - secrets
15+ - services
16+ verbs :
17+ - get
18+ - list
19+ - create
20+ - update
21+ - delete
22+ - watch
23+ - apiGroups :
24+ - apps
25+ resources :
26+ - statefulsets
27+ verbs : ["*"]
28+ - apiGroups :
29+ - mongodb.com
30+ resources :
31+ - " *"
32+ verbs :
33+ - " *"
34+
35+ ---
36+ kind : RoleBinding
37+ apiVersion : rbac.authorization.k8s.io/v1
38+ metadata :
39+ name : mongodb-enterprise-operator
40+
41+ roleRef :
42+ apiGroup : rbac.authorization.k8s.io
43+ kind : Role
44+ name : mongodb-enterprise-operator
45+ subjects :
46+ - kind : ServiceAccount
47+ name : mongodb-enterprise-operator
48+
49+ ---
50+ # Source: mongodb-enterprise-operator/templates/serviceaccount.yaml
51+ ---
52+ apiVersion : v1
53+ kind : ServiceAccount
54+ metadata :
55+ name : mongodb-enterprise-operator
56+
57+ ---
58+ # Source: mongodb-enterprise-operator/templates/operator.yaml
59+ ---
60+ apiVersion : apps/v1
61+ kind : Deployment
62+ metadata :
63+ name : mongodb-enterprise-operator
64+
65+ spec :
66+ replicas : 1
67+ selector :
68+ matchLabels :
69+ app : mongodb-enterprise-operator
70+ template :
71+ metadata :
72+ labels :
73+ app : mongodb-enterprise-operator
74+ spec :
75+ serviceAccountName : mongodb-enterprise-operator
76+ containers :
77+ - name : mongodb-enterprise-operator
78+ image : registry.connect.redhat.com/mongodb/enterprise-operator
79+ imagePullPolicy : Always
80+ env :
81+ - name : OPERATOR_ENV
82+ value : prod
83+ - name : WATCH_NAMESPACE
84+ valueFrom :
85+ fieldRef :
86+ fieldPath : metadata.namespace
87+ - name : MANAGED_SECURITY_CONTEXT
88+ value : ' true'
89+ - name : MONGODB_ENTERPRISE_DATABASE_IMAGE
90+ value : registry.connect.redhat.com/mongodb/enterprise-database
91+ - name : IMAGE_PULL_POLICY
92+ value : Always
You can’t perform that action at this time.
0 commit comments