Skip to content

Commit 8a201f6

Browse files
committed
7bd7296cff21926c8174a4f2483fd1ccc5e6ca5e: update public repo contents
1 parent dfb75db commit 8a201f6

File tree

11 files changed

+126
-18
lines changed

11 files changed

+126
-18
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Bug report
3+
about: File a report about a problem with the Operator
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
**What did you do to encounter the bug?**
10+
Steps to reproduce the behavior:
11+
1. Go to '...'
12+
2. Click on '....'
13+
3. Scroll down to '....'
14+
4. See error
15+
16+
**What did you expect?**
17+
A clear and concise description of what you expected to happen.
18+
19+
**What happened instead?**
20+
A clear and concise description of what happened instead
21+
22+
**Screenshots**
23+
If applicable, add screenshots to help explain your problem.
24+
25+
**Operator Information**
26+
- Operator Version
27+
- Base Images used (ubuntu or UBI)
28+
29+
**Ops Manager Information**
30+
- Ops Manager Version
31+
- Is Ops Manager managed by the Operator or not?
32+
- Is Ops Manager in Local Mode?
33+
34+
**Kubernetes Cluster Information**
35+
- Distribution:
36+
- Version:
37+
- Image Registry location (quay, or an internal registry)
38+
39+
**Additional context**
40+
Add any other context about the problem here.
41+
42+
If possible, please include:
43+
- `kubectl describe` output
44+
- yaml definitions for your objects
45+
- log files for the operator, database pods and Ops Manager
46+
- An [Ops Manager Diagnostic Archive](https://docs.opsmanager.mongodb.com/current/tutorial/retrieve-debug-diagnostics)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: MongoDB Support
4+
url: https://support.mongodb.com
5+
about: Please use the Support Center to receive official support within a timeline. Use this for urgent requests.
6+
- name: MongoDB Feedback
7+
url: https://feedback.mongodb.com/forums/924355-ops-tools
8+
about: Use our Feedback page for making feature requests.

README.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
Welcome to the MongoDB Enterprise Kubernetes Operator. The Operator enables easy deploy of the following applications into Kubernetes clusters:
44
* MongoDB - Replica Sets, Sharded Clusters and Standalones, with authentication, TLS and many more options.
5-
* Ops Manager - our enterprise management, monitoring and backup platform for MongoDB. The Operator can install and manage Ops Manager in Kubernetes for you.
5+
* Ops Manager - our enterprise management, monitoring and backup platform for MongoDB. The Operator can install and manage Ops Manager in Kubernetes for you. Ops Manager can manage MongoDB instances both inside and outside Kubernetes.
66

7-
The Operator requires access to one of our database management tools - Ops Manager or Cloud Manager - to deploy MongoDB instances.
7+
The Operator requires access to one of our database management tools - Ops Manager or Cloud Manager - to deploy MongoDB instances.
88
You may run Ops Manager either inside or outside Kubernetes, or may use Cloud Manager (cloud.mongodb.com) instead.
99

1010
The Operator is currently Generally Available, supported by the [MongoDB Support Team](https://support.mongodb.com/). If you need urgent help, please file a support ticket.
1111
For non-urgent requests, you may file a Github Issue here in the repo.
1212

13-
You can discuss this integration in our new [Community Forum](https://community.mongodb.com/) - please use the tag [enterprise-kubernetes-operator](https://community.mongodb.com/tags/enterprise-kubernetes-operator).
13+
You can discuss this integration in our new [Community Forum](https://developer.mongodb.com/community/forums/) - please use the tag [kubernetes-operator](https://developer.mongodb.com/community/forums/tag/kubernetes-operator)
14+
15+
Here are some talks from MongoDB Live 2020 about the Operator:
16+
* [Kubernetes, MongoDB, and Your MongoDB Data Platform](https://www.youtube.com/watch?v=o1fUPIOdKeU)
17+
* [Run it in Kubernetes! Community and Enterprise MongoDB in Containers](https://www.youtube.com/watch?v=2Xszdg-4T6A)
1418

1519
## Documentation ##
1620

@@ -30,11 +34,11 @@ You can discuss this integration in our new [Community Forum](https://community.
3034

3135
## Requirements ##
3236

33-
Please refer to the [Installation Instructions](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/plan-k8s-operator-install/)
34-
to see which Kubernetes and Openshift versions the Operator is compatible with
37+
Please refer to the [Installation Instructions](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/plan-k8s-operator-install/)
38+
to see which Kubernetes and Openshift versions the Operator is compatible with
3539

36-
To work with MongoDB resource this Operator requires [Ops Manager](https://docs.opsmanager.mongodb.com/current/) (Ops Manager can
37-
be installed into the same Kubernetes cluster by the Operator or installed outside of the cluster manually)
40+
To work with MongoDB resource this Operator requires [Ops Manager](https://docs.opsmanager.mongodb.com/current/) (Ops Manager can
41+
be installed into the same Kubernetes cluster by the Operator or installed outside of the cluster manually)
3842
or [Cloud Manager](https://cloud.mongodb.com/user#/cloud/login).
3943
> If this is your first time trying the Operator, Cloud Manager is easier to get started
4044
@@ -75,11 +79,9 @@ or clone this repo, make any edits you need, and apply it from your machine.
7579

7680
### Installation using Helm Chart
7781

78-
If you have installed the Helm client locally then you can run (note that `helm install` is a less preferred way as makes upgrades more complicated.
79-
`kubectl apply` is a much clearer way of installing/upgrading):
82+
If you have installed the Helm client locally then you can run:
8083

81-
helm template helm_chart > operator.yaml
82-
kubectl apply -f operator.yaml
84+
helm install mongodb-enterprise-operator helm_chart --values helm_chart/values.yaml
8385

8486
You can customize installation by simple overriding of helm variables, for example use `--set operator.env="dev"` to run the Operator in development mode
8587
(this will turn logging level to `Debug` and will make logging output as non-json)
@@ -190,11 +192,11 @@ Note, that it takes up to 8 minutes to initialize the Application Database and s
190192

191193
Now you can use the Ops Manager application to create MongoDB objects. You need to follow the
192194
[instructions](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/create-operator-credentials/#prerequisites)
193-
to prepare keys and enable network access to Ops Manager.
195+
to prepare keys and enable network access to Ops Manager.
194196
Then you need to perform the standard steps necessary to create MongoDB resource:
195-
* Create a [credentials Secret](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/create-operator-credentials/#create-k8s-credentials)
196-
* Create a [connection ConfigMap](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/create-project-using-configmap/)
197-
* Note, that you should use the value from `status.opsManager.url` in MongoDBOpsManager Resource as a value for `baseUrl` field in the ConfigMap
197+
* Create a [credentials Secret](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/create-operator-credentials/#create-k8s-credentials)
198+
* Create a [connection ConfigMap](https://docs.mongodb.com/kubernetes-operator/stable/tutorial/create-project-using-configmap/)
199+
* Note, that you should use the value from `status.opsManager.url` in MongoDBOpsManager Resource as a value for `baseUrl` field in the ConfigMap
198200

199201
## Accessing Ops Manager UI (from a browser)
200202

crds.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ spec:
9999
startupOptions:
100100
type: object
101101

102+
backup:
103+
type: object
104+
properties:
105+
mode:
106+
type: string
107+
enum: ["enabled", "disabled", "terminated"]
102108
# Generic PodSpec configuration
103109
podSpec:
104110
type: object

helm_chart/crds/mongodb.mongodb.com.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ spec:
9999
startupOptions:
100100
type: object
101101

102+
backup:
103+
type: object
104+
properties:
105+
mode:
106+
type: string
107+
enum: ["enabled", "disabled", "terminated"]
102108
# Generic PodSpec configuration
103109
podSpec:
104110
type: object

helm_chart/templates/operator-roles.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ rules:
4747
- watch
4848
- delete
4949
- update
50+
- apiGroups:
51+
- ""
52+
resources:
53+
- pods
54+
verbs:
55+
- get
56+
- list
57+
- watch
5058
{{- if eq (.Values.operator.watchNamespace | default "") "*" }}
5159
- apiGroups:
5260
- ""

helm_chart/templates/operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,5 @@ spec:
117117
port: 40000
118118
protocol: TCP
119119
selector:
120-
app: {{ .Values.operator.name }}
120+
app.kubernetes.io/name: {{ .Values.operator.name }}
121121
{{- end }}

mongodb-enterprise-openshift.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ rules:
8383
- watch
8484
- delete
8585
- update
86+
- apiGroups:
87+
- ""
88+
resources:
89+
- pods
90+
verbs:
91+
- get
92+
- list
93+
- watch
8694
- apiGroups:
8795
- mongodb.com
8896
resources:

mongodb-enterprise.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ rules:
8383
- watch
8484
- delete
8585
- update
86+
- apiGroups:
87+
- ""
88+
resources:
89+
- pods
90+
verbs:
91+
- get
92+
- list
93+
- watch
8694
- apiGroups:
8795
- mongodb.com
8896
resources:

openshift-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ for your OpenShift installation to be able to fetch images from this registry.
88
## Create your OpenShift Secret
99

1010
First, complete the instructions
11-
[here](https://access.redhat.com/terms-based-registry/#/token/openshift3-test-cluster/docker-config). Unfortunately,
12-
these instructions refer to a `registry.redhat.io` Registry which is not the one we need, but they accept the same
11+
[here](https://access.redhat.com/terms-based-registry/#/accounts). Unfortunately,
12+
these instructions refer to a `registry.redhat.io` registry which is not the one we need, but they accept the same
1313
credentials. First, click on "view its contents" to display the contents we need, and save these contents into a json
1414
file. This file includes 1 entry for `registry.redhat.io`; replicate that entry with a new name,
1515
"`registry.connect.redhat.com`", as in the following example:

0 commit comments

Comments
 (0)