Skip to content

Commit 1bb3cfa

Browse files
author
Cecile Robert-Michon
committed
Update docs on custom vnet creation
1 parent c4064ec commit 1bb3cfa

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/book/src/topics/custom-vnet.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,16 @@ spec:
1717
resourceGroup: custom-vnet
1818
name: my-vnet
1919
subnets:
20-
- name: control-plane-subnet
20+
- name: my-control-plane-subnet
2121
role: control-plane
22-
- name: node-subnet
22+
securityGroup:
23+
name: my-control-plane-nsg
24+
- name: my-node-subnet
2325
role: node
26+
routeTable:
27+
name: my-node-routetable
28+
securityGroup:
29+
name: my-node-nsg
2430
resourceGroup: cluster-byo-vnet
2531
```
2632

test/e2e/azure_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ var _ = Describe("Workload cluster creation", func() {
142142

143143
if os.Getenv("LOCAL_ONLY") != "true" {
144144
Context("Creating a private cluster", func() {
145-
It("Creates a public management cluster a custom vnet", func() {
145+
It("Creates a public management cluster in a custom vnet", func() {
146146
clusterName = getClusterName(clusterNamePrefix, "public-custom-vnet")
147147
Context("Creating a custom virtual network", func() {
148148
Expect(os.Setenv(AzureCustomVNetName, "custom-vnet")).NotTo(HaveOccurred())

0 commit comments

Comments
 (0)