From 6f5eaadad7183192d5db345028873d36e9c5e4ef Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Sun, 6 Oct 2019 09:29:54 -0400 Subject: [PATCH] fixup documentation mismatch The user-defined-network example doesn't work out of the box, from the looks of things this is because networks is an array. --- examples/user-defined-network/README.md | 3 ++- examples/user-defined-network/footloose.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/user-defined-network/README.md b/examples/user-defined-network/README.md index 418abd2..1a539e9 100644 --- a/examples/user-defined-network/README.md +++ b/examples/user-defined-network/README.md @@ -15,7 +15,8 @@ machines: spec: image: quay.io/footloose/centos7:0.6.2 name: node%d - network: footloose-cluster + networks: + - footloose-cluster portMappings: - containerPort: 22 ``` diff --git a/examples/user-defined-network/footloose.yaml b/examples/user-defined-network/footloose.yaml index 5b3d29c..13b2671 100644 --- a/examples/user-defined-network/footloose.yaml +++ b/examples/user-defined-network/footloose.yaml @@ -6,6 +6,7 @@ machines: spec: image: quay.io/footloose/centos7:0.6.2 name: node%d - network: footloose-cluster + networks: + - footloose-cluster portMappings: - containerPort: 22