File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ content: |
20
20
name: my-project
21
21
namespace: mongodb
22
22
data:
23
- projectName: myProjectName # this is an optional parameter
23
+ projectName: myProjectName # optional; omit to generate a random project name
24
24
orgId: 5b890e0feacf0b76ff3e7183 # this is a required parameter
25
25
baseUrl: https://ops.example.com:8443
26
26
Original file line number Diff line number Diff line change @@ -12,11 +12,20 @@ Create One Project using a ConfigMap
12
12
:depth: 1
13
13
:class: singlecol
14
14
15
- The |k8s-op-full| uses a |k8s| |k8s-configmap| to link your
15
+ The |k8s-op-full| uses a |k8s| |k8s-configmap| to link to a single, unique
16
16
|onprem| :opsmgr:`Project </tutorial/manage-projects>`. If the
17
17
referenced project doesn't exist, the |k8s-op-short| creates it
18
18
according to the ``projectName`` that you provide in the ConfigMap.
19
19
20
+ .. note::
21
+
22
+ As each |k8s-op-full| deployment requires a one to one pairing with
23
+ a unique |onprem| :opsmgr:`Project </tutorial/manage-projects>`,
24
+ you can either create a distinct ConfigMap for each |k8s-op-full| instance
25
+ you deploy, or you can reuse the same ConfigMap for any number of deployments
26
+ by omitting the ``data.projectName`` from your ConfigMap, so that
27
+ project names will be randomly generated as required.
28
+
20
29
To create a |k8s-op-short| ConfigMap, you can edit a few lines of the
21
30
:ref:`example ConfigMap <example-k8s-configmap>` |yaml| file and apply
22
31
the ConfigMap. To view a full example, see the :github:`project.yaml
You can’t perform that action at this time.
0 commit comments