Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
fix examples and bump CAPI to v0.1.7
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jul 17, 2019
1 parent 8678464 commit d338042
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/capdctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (mo *machineDeploymentOptions) initFlags(fs *flag.FlagSet) {
func main() {
setup := flag.NewFlagSet("setup", flag.ExitOnError)
managementClusterName := setup.String("cluster-name", "management", "The name of the management cluster")
version := setup.String("capi-version", "v0.1.6", "The CRD versions to pull from CAPI. Does not support < v0.1.6.")
version := setup.String("capi-version", "v0.1.7", "The CRD versions to pull from CAPI. Does not support < v0.1.7.")
capdImage := setup.String("capd-image", "gcr.io/kubernetes1-226021/capd-manager:latest", "The capd manager image to run")
capiImage := setup.String("capi-image", "", "This is normally left blank and filled in automatically. But this will override the generated image name.")

Expand Down
4 changes: 4 additions & 0 deletions examples/simple-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ metadata:
set: "controlplane"
spec:
providerSpec: {}
versions:
controlPlane: "v1.14.2"
---
apiVersion: "cluster.k8s.io/v1alpha1"
kind: Machine
Expand All @@ -31,3 +33,5 @@ metadata:
name: "my-cluster-worker"
spec:
providerSpec: {}
versions:
kubelet: "v1.14.2"

0 comments on commit d338042

Please sign in to comment.