Skip to content

Commit 8b67d7f

Browse files
authored
(DOCSP-46804) [AKO] Remove incorrect parameters from Network Peering samples (#181) (#183)
* (DOCSP-46804) Remove incorrect parameters. * (DOCSP-45804) Fix line highlighting. (cherry picked from commit 87f7cfd)
1 parent 28e08bc commit 8b67d7f

5 files changed

+5
-11
lines changed

source/includes/steps-existing-container-peering-ak8so-azure.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ a. Specify the :setting:`spec.networkPeers` parameter in
4545
#. Run the following command:
4646

4747
.. code-block:: sh
48-
:emphasize-lines: 8-14
48+
:emphasize-lines: 8-15
4949
5050
cat <<EOF | kubectl apply -f -
5151
apiVersion: atlas.mongodb.com/v1
@@ -57,8 +57,6 @@ a. Specify the :setting:`spec.networkPeers` parameter in
5757
networkPeers:
5858
- providerName: "AZURE"
5959
containerID: "6dc5f17280eef56a459fa3fb"
60-
atlasCidrBlock: "10.8.0.0/21"
61-
containerRegion: "US_WEST"
6260
accepterRegionName: "US_EAST_2"
6361
azureSubscriptionId: "12345678"
6462
resourceGroupName: "my-group"

source/includes/steps-existing-container-peering-ak8so-gcp.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ a. Specify the :setting:`spec.networkPeers` parameter in
3434
#. Run the following command:
3535

3636
.. code-block:: sh
37-
:emphasize-lines: 8-14
37+
:emphasize-lines: 8-12
3838
3939
cat <<EOF | kubectl apply -f -
4040
apiVersion: atlas.mongodb.com/v1
@@ -47,6 +47,5 @@ a. Specify the :setting:`spec.networkPeers` parameter in
4747
- providerName: "GCP"
4848
containerId: "6dc5f17280eef56a459fa3fb"
4949
gcpProjectId: "12345678"
50-
routeTableCidrBlock: "10.0.0.0/24"
5150
networkName: "my-vpc"
5251
EOF

source/includes/steps-new-container-peering-ak8so-aws.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ a. Specify the :setting:`spec.networkPeers` parameter in
4444
#. Run the following command:
4545

4646
.. code-block:: sh
47-
:emphasize-lines: 8-14
47+
:emphasize-lines: 8-15
4848
4949
cat <<EOF | kubectl apply -f -
5050
apiVersion: atlas.mongodb.com/v1

source/includes/steps-new-container-peering-ak8so-azure.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ a. Specify the :setting:`spec.networkPeers` parameter in
5454
#. Run the following command:
5555

5656
.. code-block:: sh
57-
:emphasize-lines: 8-14
57+
:emphasize-lines: 8-15
5858
5959
cat <<EOF | kubectl apply -f -
6060
apiVersion: atlas.mongodb.com/v1
@@ -67,7 +67,6 @@ a. Specify the :setting:`spec.networkPeers` parameter in
6767
- providerName: "AZURE"
6868
atlasCidrBlock: "10.8.0.0/21"
6969
containerRegion: "US_WEST"
70-
accepterRegionName: "US_EAST_2"
7170
azureSubscriptionId: "12345678"
7271
resourceGroupName: "my-group"
7372
azureDirectoryId: "x0xxx10-00x0-0x01-0xxx-x0x0x01xx100"

source/includes/steps-new-container-peering-ak8so-gcp.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ a. Specify the :setting:`spec.networkPeers` parameter in
4646
#. Run the following command:
4747

4848
.. code-block:: sh
49-
:emphasize-lines: 8-14
49+
:emphasize-lines: 8-12
5050
5151
cat <<EOF | kubectl apply -f -
5252
apiVersion: atlas.mongodb.com/v1
@@ -58,8 +58,6 @@ a. Specify the :setting:`spec.networkPeers` parameter in
5858
networkPeers:
5959
- providerName: "GCP"
6060
atlasCidrBlock: "10.8.0.0/21"
61-
containerRegion: "us-east1"
6261
gcpProjectId: "12345678"
63-
routeTableCidrBlock: "10.0.0.0/24"
6462
networkName: "my-vpc"
6563
EOF

0 commit comments

Comments
 (0)