Fix weave configmap key
@@ -53,7 +53,6 @@ const (
CanalFlannelBackendType = "canal_flannel_backend_type"
WeaveNetworkPlugin = "weave"
- WeavePasswordKey = "weave_password"
// List of map keys to be used with network templates
@@ -197,7 +196,7 @@ func (c *Cluster) doCanalDeploy(ctx context.Context) error {
func (c *Cluster) doWeaveDeploy(ctx context.Context) error {
weaveConfig := map[string]interface{}{
ClusterCIDR: c.ClusterCIDR,
- WeavePassword: c.Network.Options[WeavePasswordKey],
+ WeavePassword: c.Network.Options[WeavePassword],
Image: c.SystemImages.WeaveNode,
CNIImage: c.SystemImages.WeaveCNI,
WeaveLoopbackImage: c.SystemImages.Alpine,
