Skip to content

Commit ac42fee

Browse files
(DOCSP-45955) migrate parameters to CRDs page (#172)
* (DOCSP-45955) First draft. * tech review * fix crds * various fixes for build issues * remaining build fixes * one more typo * bad find and replace * last link fix --------- Co-authored-by: John Williams <[email protected]>
1 parent 95977fd commit ac42fee

12 files changed

+227
-23
lines changed

config/redirects

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
define: base https://www.mongodb.com/docs/atlas/operator
22
define: old_bucket_prefix docs/atlas/atlas-operator
3-
define: versions v1.9 v2.0 v2.1 v2.2 v2.3 master
3+
define: versions v1.9 v2.0 v2.1 v2.2 v2.3 v2.4 v2.5 master
44
symlink: upcoming -> master
5-
symlink: current -> v2.3
5+
symlink: current -> v2.5
66

77
# old_bucket_prefix represents the old path to these docs that we had to change to get embedded versioning to work
88

@@ -121,3 +121,7 @@ raw: docs/atlas/operator/stable/configure-ak8so-access-to-atlas/ -> ${base}/curr
121121
raw: docs/atlas/operator/stable/custom-resources/ -> ${base}/current/custom-resources/
122122
raw: docs/atlas/operator/stable/production-notes/ -> ${base}/current/production-notes/
123123
raw: docs/atlas/operator/stable/ak8so-stream-processing/ -> ${base}/current/ak8so-stream-processing/
124+
125+
# new migration from parameters to crds page
126+
127+
[*-v2.5]: docs/atlas/operator/${version}/migrate-parameter-to-resource/ -> https://www.mongodb.com/docs/unavailable-version/

source/ak8so-configure-teams.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ update the following custom resources:
3333
* - :ref:`atlasproject-custom-resource`
3434
- Defines the team's access roles for this project. You
3535
must set the :setting:`spec.teams.teamRef.name` field to match the
36-
:setting:`metadata.name` of the :ref:`atlasteam-custom-resource` to assign
36+
``metadata.name`` of the :ref:`atlasteam-custom-resource` to assign
3737
the team to this project.
3838

3939
Each time you change any of the supported custom resources, such as updating or
@@ -74,7 +74,7 @@ projects:
7474
.. step:: Create the team.
7575

7676
Create an :ref:`atlasteam-custom-resource` for each team using the following
77-
example. Specify a :setting:`metadata.name` so that you can reference this
77+
example. Specify a ``metadata.name`` so that you can reference this
7878
file from the :ref:`atlasproject-custom-resource` and a ``spec.name`` so you
7979
can differentiate this team from other teams in your organization.
8080

@@ -105,7 +105,7 @@ projects:
105105

106106
To assign this team to a project, set the :setting:`spec.teams.teamRef.name`
107107
field in the :ref:`atlasproject-custom-resource` to match the
108-
:setting:`metadata.name` from the previous step.
108+
``metadata.name`` from the previous step.
109109

110110
In the :setting:`spec.teams.teamRef.roles` field, specify the team's
111111
:ref:`user-roles` for this project.

source/ak8so-get-started.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@ To learn more, see :ref:`ak8so-compatibility-ref`.
6969
Helm Charts Quick Start </ak8so-quick-start-helm>
7070
Atlas for Government </ak8so-for-gov>
7171
Independent Custom Resource Definitions </ak8so-independent-crd>
72+
Migrate Parameters to CRDs </migrate-parameter-to-resource>
7273
Compatibility </ak8so-compatibility>
7374

source/ak8so-unified-access.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ in the :ref:`atlasproject-custom-resource`.
2323
<ak8so-independent-crd>`, you cannot configure |aws| |iam|
2424
authentication using ``atlasProject`` parameters. To configure
2525
|aws| |iam| authentication for your |service| project directly,
26-
please see :ref:`aws-iam-authentication <Set Up Authentication with
27-
AWS IAM>`.
26+
please see :atlas:`Set Up Authentication with AWS IAM </security/aws-iam-authentication>`.
2827

2928
Prerequisites
3029
-------------

source/atlascustomrole-custom-resource.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.. _ak8so-configure-custom-database-roles:
12
.. _atlascustomrole-custom-resource:
23

34
=======================================
@@ -35,7 +36,7 @@ To create this custom role within a given project, you must either:
3536
- Updates an existing custom database role.
3637

3738
Examples
38-
-------
39+
--------
3940

4041
.. _atlascustomrole-example-basic:
4142

@@ -133,8 +134,7 @@ Parameters
133134

134135
This section describes the ``AtlasTeam`` custom resource parameters available.
135136

136-
.. setting:: metadata.name
137-
137+
``metadata.name``
138138
*Type*: string
139139

140140
*Required*
@@ -278,7 +278,7 @@ This section describes the ``AtlasTeam`` custom resource parameters available.
278278

279279
This parameter is mutually exclusive with the
280280
:setting:`spec.role.actions.resources.collection` and
281-
:setting:`spec.role.actions.resources.db` parameters.
281+
:setting:`spec.role.actions.resources.database` parameters.
282282

283283
.. setting:: spec.role.actions.resources.collection
284284

@@ -289,7 +289,7 @@ This section describes the ``AtlasTeam`` custom resource parameters available.
289289
Human-readable label that identifies the collection on which the
290290
action is granted. If this value is an empty string, the action is
291291
granted on all collections within the database specified in the
292-
:setting:`spec.role.actions.resources.db` parameter.
292+
:setting:`spec.role.actions.resources.database` parameter.
293293

294294
.. note::
295295

source/atlasprivateendpoint-custom-resource.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ Parameters
9494

9595
This section describes the ``AtlasPrivateEndpoint`` custom resource parameters available.
9696

97-
.. setting:: metadata.name
98-
97+
``metadata.name``
9998
*Type*: string
10099

101100
*Required*
@@ -112,7 +111,7 @@ This section describes the ``AtlasPrivateEndpoint`` custom resource parameters a
112111
``atlasPrivateEndpoint`` custom resource. If you define a custom
113112
namespace, you must add it to the
114113
:ref:`atlasproject-custom-resource` in the
115-
:setting:`spec.privateEndpoint.privateEndpointRef.namespace` field.
114+
``spec.privateEndpoint.privateEndpointRef.namespace`` field.
116115

117116
.. setting:: spec.awsConfiguration.id
118117

source/atlasproject-custom-resource.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ This section describes the ``AtlasProject`` custom resource parameters:
19901990
*Conditional*
19911991

19921992
Human-readable label from the :ref:`atlasteam-custom-resource` in the
1993-
:setting:`metadata.name` field. If you want to assign a :ref:`team <ak8so-team>`
1993+
``metadata.name`` field. If you want to assign a :ref:`team <ak8so-team>`
19941994
to this project, you must specify this setting.
19951995

19961996
.. setting:: spec.teams.teamRef.namespace

source/atlasteam-custom-resource.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ Parameters
5353

5454
This section describes the ``AtlasTeam`` custom resource parameters available.
5555

56-
.. setting:: metadata.name
57-
56+
``metadata.name``
5857
*Type*: string
5958

6059
*Required*

source/configure-ak8so-access-to-atlas.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ steps.
158158
Network Peering </ak8so-network-peering>
159159
Private Endpoints </ak8so-private-link>
160160
Cloud Provider Integrations </ak8so-unified-access>
161-
Custom Database Roles </ak8so-configure-custom-database-roles>
162161
X.509 </ak8so-x509>
163162
Encrypt Data </ak8so-encryption-at-rest-customer-keys>
164163
Federated Authentication </ak8so-configure-federated-authentication>

source/includes/steps-ak8so-helm-quick-start.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ content: |
3131
3232
- If you want |ak8so| to watch a particular set of |k8s-nss|, set the
3333
``--watchNamespaces`` flag to a comma-separated list of |k8s-nss| to be watched.
34-
For example, run the following command to watch only the ``atlas-operator``namespace:
34+
For example, run the following command to watch only the ``atlas-operator`` namespace:
3535
3636
.. code-block:: sh
3737
@@ -155,7 +155,7 @@ content: |
155155
.. input::
156156
:language: sh
157157
158-
kubectl get secret -n my-cluster my-project-cluster-name-dbadmin -ojson | jq -r '.data | with_entries(.value |= @base64d)';
158+
kubectl get secret -n my-cluster my-project-cluster-name-dbadmin -o json | jq -r '.data | with_entries(.value |= @base64d)';
159159
160160
.. output::
161161
:language: json

0 commit comments

Comments
 (0)