Skip to content

Commit a2806a2

Browse files
DOCSP-29493: orgId isn't optional in configmaps (#1316)
1 parent 823981a commit a2806a2

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

source/includes/code-examples/yaml-files/configmaps/example-configmap-tls-full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: <my-namespace>
77
data:
88
projectName: <my-ops-manager-project-name>
9-
orgId: <org-id> # Optional
9+
orgId: <org-id>
1010
baseUrl: https://<my-ops-manager-URL>
1111

1212
sslMMSCAConfigMap: <root-ca-configmap-name>

source/includes/code-examples/yaml-files/configmaps/example-configmap-tls-upper.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ metadata:
66
namespace: <my-namespace>
77
data:
88
projectName: <my-ops-manager-project-name>
9-
orgId: <org-id> # Optional
9+
orgId: <org-id>
1010
baseUrl: https://<my-ops-manager-URL>
1111

source/includes/list-tables/configmap-keys-curl.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
You must have the :authrole:`Organization Project Creator`
7070
role to create a new project within an existing
7171
|com| organization.
72+
73+
If you provide an empty string as your ``orgId``, |k8s-op-short|
74+
creates an organization with the same name as your project.
7275

7376
- ``5b890e0feacf0b76ff3e7183``
7477

source/includes/list-tables/configmap-keys.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171

7272
.. include:: /includes/admonitions/note-k8s-supported-in-om4.rst
7373

74+
If you provide an empty string as your ``orgId``, |k8s-op-short|
75+
creates an organization with the same name as your project.
7476

7577
- | ``5cc9b333dd3e384a625a6615``
7678

source/includes/steps-openshift-airgapped-env-tutorial.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ content: |
210210
namespace: mongodb
211211
data:
212212
projectName: myProjectName # this is an optional parameter
213-
orgId: 5b890e0feacf0b76ff3e7183 # this is an optional parameter
213+
orgId: 5b890e0feacf0b76ff3e7183
214214
baseUrl: https://ops.example.com:8443
215215
EOF
216216

source/reference/k8s/example-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ metadata:
55
name: <myconfigmap>
66
data:
77
projectName: <myOpsManagerProjectName> # Optional
8-
orgId: <orgId> # Optional
8+
orgId: <orgId>
99
baseUrl: https://<myOpsManagerURL>
1010
...

source/tutorial/mdb-resources-arch.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ performs the following actions to reconcile the changes:
208208

209209
3. The |k8s-op-short| connects to |com| and performs the following actions:
210210

211-
- Reads the organization specified in the ``OrgId`` field in the ConfigMap,
212-
or uses the organization that has the same name as the project in |com|.
211+
- Reads the organization from the ``orgId`` field in the ConfigMap.
213212

214213
- Reads a project name specified in the ``projectName`` field in the
215214
ConfigMap, or creates this project in |com| if it doesn't exist.
@@ -350,8 +349,7 @@ changes. It takes the following actions:
350349

351350
2. Connects to |com|:
352351

353-
- Reads the organization's name from ``OrgId`` in the ConfigMap, or
354-
uses the same name for the organization as the project's name in |com|.
352+
- Reads the organization from the ``orgId`` in the ConfigMap.
355353
- Reads a project's name from ``projectName`` in the ConfigMap,
356354
or creates this project in |com| if it doesn't exist.
357355
- Checks that the ``<project-id>-group-secret`` created by the

0 commit comments

Comments
 (0)