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

Commit

Permalink
Update capi base image and drop support for <v0.1.6
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <[email protected]>
  • Loading branch information
chuckha committed Jul 15, 2019
1 parent e3a34f1 commit 6213085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/capdctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (mo *machineDeyploymentOptions) 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.4", "The CRD versions to pull from CAPI")
version := setup.String("capi-version", "v0.1.6", "The CRD versions to pull from CAPI. Does not support < v0.1.6.")
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 Expand Up @@ -247,7 +247,7 @@ func machineYAML(opts *machineOptions) string {

func makeManagementCluster(clusterName, capiVersion, capdImage, capiImageOverride string) {
fmt.Println("Creating a brand new cluster")
capiImage := fmt.Sprintf("gcr.io/k8s-cluster-api/cluster-api-controller:%s", capiVersion)
capiImage := fmt.Sprintf("us.gcr.io/k8s-artifacts-prod/cluster-api/cluster-api-controller:%s", capiVersion)
if capiImageOverride != "" {
capiImage = capiImageOverride
}
Expand Down

0 comments on commit 6213085

Please sign in to comment.