Skip to content

Commit 9f7e65a

Browse files
author
Anton
authored
CLOUDP-86202: OLM bundle changes for 0.5.0 (#191)
1 parent 85654e6 commit 9f7e65a

File tree

5 files changed

+137
-15
lines changed

5 files changed

+137
-15
lines changed

.github/actions/gen-install-scripts/entrypoint.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ cp config/crd/bases/* "${crds_dir}"
4141
operator-sdk generate kustomize manifests -q --apis-dir=pkg/api
4242

4343
# We pass the version only for non-dev deployments (it's ok to have "0.0.0" for dev)
44+
channel="beta"
4445
if [[ "${INPUT_ENV}" == "dev" ]]; then
45-
kustomize build --load-restrictor LoadRestrictionsNone config/manifests | operator-sdk generate bundle -q --overwrite
46+
kustomize build --load-restrictor LoadRestrictionsNone config/manifests | operator-sdk generate bundle -q --overwrite --default-channel="${channel}" --channels="${channel}"
4647
else
47-
kustomize build --load-restrictor LoadRestrictionsNone config/manifests | operator-sdk generate bundle -q --overwrite --version "${INPUT_VERSION}"
48+
kustomize build --load-restrictor LoadRestrictionsNone config/manifests | operator-sdk generate bundle -q --overwrite --version "${INPUT_VERSION}" --default-channel="${channel}" --channels="${channel}"
4849
fi
4950
operator-sdk bundle validate ./bundle

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ SHELL := /usr/bin/env bash
66
# To re-generate a bundle for another specific version without changing the standard setup, you can:
77
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
88
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
9-
VERSION ?= 0.3.0
9+
VERSION ?= 0.5.0
1010

1111
# CHANNELS define the bundle channels used in the bundle.
1212
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "preview,fast,stable")
1313
# To re-generate a bundle for other specific channels without changing the standard setup, you can:
1414
# - use the CHANNELS as arg of the bundle target (e.g make bundle CHANNELS=preview,fast,stable)
1515
# - use environment variables to overwrite this value (e.g export CHANNELS="preview,fast,stable")
16+
CHANNELS = beta
1617
ifneq ($(origin CHANNELS), undefined)
1718
BUNDLE_CHANNELS := --channels=$(CHANNELS)
1819
endif
@@ -22,7 +23,7 @@ endif
2223
# To re-generate a bundle for any other default channel without changing the default setup, you can:
2324
# - use the DEFAULT_CHANNEL as arg of the bundle target (e.g make bundle DEFAULT_CHANNEL=stable)
2425
# - use environment variables to overwrite this value (e.g export DEFAULT_CHANNEL="stable")
25-
DEFAULT_CHANNEL=alpha # TODO change to beta when we release Trial
26+
DEFAULT_CHANNEL=beta
2627
ifneq ($(origin DEFAULT_CHANNEL), undefined)
2728
BUNDLE_DEFAULT_CHANNEL := --default-channel=$(DEFAULT_CHANNEL)
2829
endif

bundle.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
44
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
55
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
66
LABEL operators.operatorframework.io.bundle.package.v1=mongodb-atlas-kubernetes
7-
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
8-
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
7+
LABEL operators.operatorframework.io.bundle.channels.v1=beta
8+
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta
99
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.4.2
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3

config/manifests/bases/mongodb-atlas-kubernetes.clusterserviceversion.yaml

Lines changed: 117 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,117 @@ spec:
2727
kind: AtlasProject
2828
name: atlasprojects.atlas.mongodb.com
2929
version: v1
30-
description: Kubernetes Operator which manages MongoDB Atlas Clusters from Kubernetes.
30+
description: |
31+
The MongoDB Atlas Operator provides a native integration between the Kubernetes orchestration platform and MongoDB Atlas —
32+
the only multi-cloud document database service that gives you the versatility you need to build sophisticated and resilient applications that can adapt to changing customer demands and market trends.
33+
34+
> Current Status: *trial version*. The Operator gives users the ability to provision
35+
> Atlas projects, clusters and database users using Kubernetes Specifications and bind connection information
36+
> into applications deployed to Kubernetes. More features like private endpoints, backup management, LDAP/X.509 authentication, etc.
37+
> are yet to come.
38+
39+
40+
## Quick Start guide
41+
### Step 1. Deploy Kubernetes operator by clicking Install button.
42+
43+
### Step 2. Create Atlas Cluster
44+
45+
**1.** Create an Atlas API Key Secret
46+
In order to work with the Atlas Operator you need to provide [authentication information](https://docs.atlas.mongodb.com/configure-api-access)
47+
to allow the Atlas Operator to communicate with Atlas API. Once you have generated a Public and Private key in Atlas, you can create a Kuberentes Secret with:
48+
```
49+
kubectl create secret generic mongodb-atlas-operator-api-key \
50+
--from-literal="orgId=<the_atlas_organization_id>" \
51+
--from-literal="publicApiKey=<the_atlas_api_public_key>" \
52+
--from-literal="privateApiKey=<the_atlas_api_private_key>" \
53+
-n openshift-operators
54+
```
55+
(Note, that you should use the namespace where the Operator was installed - it's `openshift-operators` by default)
56+
57+
**2.** Create an `AtlasProject` Custom Resource
58+
59+
The `AtlasProject` CustomResource represents Atlas Projects in our Kubernetes cluster. You need to specify
60+
`projectIpAccessList` with the IP addresses or CIDR blocks of any hosts that will connect to the Atlas Cluster.
61+
```
62+
apiVersion: atlas.mongodb.com/v1
63+
kind: AtlasProject
64+
metadata:
65+
name: my-project
66+
spec:
67+
name: Test Atlas Operator Project
68+
projectIpAccessList:
69+
- ipAddress: "192.0.2.15"
70+
comment: "IP address for Application Server A"
71+
- ipAddress: "203.0.113.0/24"
72+
comment: "CIDR block for Application Server B - D"
73+
```
74+
**3.** Create an `AtlasCluster` Custom Resource.
75+
The example below is a minimal configuration to create an M10 Atlas cluster in the AWS US East region. For a full list of properties, check
76+
`atlasclusters.atlas.mongodb.com` [CRD specification](config/crd/bases/atlas.mongodb.com_atlasclusters.yaml)):
77+
```
78+
apiVersion: atlas.mongodb.com/v1
79+
kind: AtlasCluster
80+
metadata:
81+
name: my-atlas-cluster
82+
spec:
83+
name: "Test-cluster"
84+
projectRef:
85+
name: my-project
86+
providerSettings:
87+
instanceSizeName: M10
88+
providerName: AWS
89+
regionName: US_EAST_1
90+
```
91+
92+
**4.** Create a database user password Kubernetes Secret
93+
The Secret must be created in the same namespace as the `AtlasCluster` and `AtlasProject` were created.
94+
```
95+
kubectl create secret generic the-user-password --from-literal="password=P@@sword%"
96+
```
97+
98+
**5.** Create an `AtlasDatabaseUser` Custom Resource
99+
100+
In order to connect to an Atlas Cluster the database user needs to be created. `AtlasDatabaseUser` resource should reference
101+
the password Kubernetes Secret created in the previous step.
102+
```
103+
apiVersion: atlas.mongodb.com/v1
104+
kind: AtlasDatabaseUser
105+
metadata:
106+
name: my-database-user
107+
spec:
108+
roles:
109+
- roleName: "readWriteAnyDatabase"
110+
databaseName: "admin"
111+
projectRef:
112+
name: my-project
113+
username: theuser
114+
passwordSecretRef:
115+
name: the-user-password
116+
```
117+
**6.** Wait for the `AtlasDatabaseUser` Custom Resource to be ready
118+
119+
Wait until the AtlasDatabaseUser resource gets to "ready" status (it will wait until the cluster is created that may take around 10 minutes):
120+
```
121+
kubectl get atlasdatabaseusers my-database-user -o=jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
122+
True
123+
```
124+
### Step 3. Connect your application to the Atlas Cluster
125+
126+
The Atlas Operator will create a Kubernetes Secret with the information necessary to connect to the Atlas Cluster created
127+
in the previous step. An application in the same Kubernetes Cluster can mount and use the Secret:
128+
129+
```
130+
...
131+
containers:
132+
- name: test-app
133+
env:
134+
- name: "CONNECTION_STRING"
135+
valueFrom:
136+
secretKeyRef:
137+
name: test-atlas-operator-project-test-cluster-theuser
138+
key: connectionString.standardSrv
139+
140+
```
31141
displayName: MongoDB Atlas Operator
32142
icon:
33143
- base64data: iVBORw0KGgoAAAANSUhEUgAAAH8AAAB/CAYAAADGvR0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CNLXwT68/fvBzl097ba+/O5wV33uxX4+HaRTgP3V3B29dMOPNN2X50GO6h/mt38ZEl2NcWp3Cxc9dPu21S+/5Zr8HvuGYH8rUqVfc6zru+EKhiaZCE81NLTS3DFjluk0HGnE+OPGkCxtiHNxGBN8x5hERM96IwTEOxnEwxv39uM9N/KCRxsE0IvjGOAuNMVt8le/gOC6OcZ9tuHGgIUWXGuNsdYyDBPbecZyXcvAbQM6/4B83OkZWi3FwHRfHdTGOuzQHv2FUvzsj8vSdAq5bWJGD3zDgm07HMRingOO67DBghw9y8BvH43/diIPruriOi1tokhz8BvL4HccNVT5OoUAOfqP8cMdd5YPv4LpNFNzmHPxGkTPOvHyN4zg+8wtNNLe05OA3GPspuAUKhSYU2TkHv4Gk4BQ8t9BEU6GZ5qbmQTn4jeTxu4WX3EKBQnMzheaW3XPwG0Se++0DtB97zqjWloG7NhVa7m5pGjCYXBpHXlsQ3wZ/w/plDfX7/w9sJTyL9hMvGQAAAABJRU5ErkJggg==
@@ -52,9 +162,12 @@ spec:
52162
- Replica Set
53163
- Cluster
54164
links:
55-
- name: Mongodb Atlas Kubernetes
56-
url: https://mongodb-atlas-kubernetes.domain
57-
maturity: alpha
165+
- name: MongoDB Atlas Kubernetes
166+
url: https://github.com/mongodb/mongodb-atlas-kubernetes
167+
maturity: beta
58168
provider:
59169
name: MongoDB, Inc
170+
maintainers:
171+
172+
name: MongoDB, Inc
60173
version: 0.0.0

docs/dev/olm.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ operator-sdk olm install
1313

1414
### Creating/Updating OLM bundles
1515

16-
operator-sdk provides support for generating bundles:
16+
operator-sdk provides support for generating bundles (you can use the dev image here - copy the image from
17+
Github action `Prepare E2E configuration and image`):
1718

1819
```
19-
make bundle VERSION=0.3.0 IMG=mongodb/mongodb-atlas-kubernetes-operator:0.3.0
20+
make bundle VERSION=0.5.0 IMG=mongodb/mongodb-atlas-kubernetes-operator-prerelease:CLOUDP-82589-ensure-cluster-secrets-ae16708
2021
```
2122

2223
The following happens "under the hood":
@@ -37,9 +38,15 @@ The following happens "under the hood":
3738

3839
As per https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/:
3940
```
40-
make bundle-build BUNDLE_IMG=antonlisovenko/test-bundle:v0.3.0
41-
make docker-push IMG=antonlisovenko/test-bundle:v0.3.0
42-
operator-sdk run bundle docker.io/antonlisovenko/test-bundle:v0.3.0
41+
make bundle-build BUNDLE_IMG=antonlisovenko/test-bundle:v0.5.0
42+
make docker-push IMG=antonlisovenko/test-bundle:v0.5.0
43+
operator-sdk run bundle docker.io/antonlisovenko/test-bundle:v0.5.0
44+
```
45+
46+
### Removing the bundle
47+
48+
```
49+
operator-sdk cleanup mongodb-atlas-kubernetes
4350
```
4451

4552
### Full Output

0 commit comments

Comments
 (0)