Skip to content

Commit 2c6661b

Browse files
authored
Update CC/CBC for onClusterProvisioned bootstrapping (#1553)
* Update CC/CBC for onProvision bootstrapping * Update CRD * fixes * update to tagged versions * tidy
1 parent c0de5e3 commit 2c6661b

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

charts/cluster-controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ controllerManager:
1313
manager:
1414
image:
1515
repository: docker.io/weaveworks/cluster-controller
16-
tag: v1.3.0
16+
tag: v1.3.2
1717
resources:
1818
limits:
1919
cpu: 500m

charts/mccp/crds/capi.weave.works_clusterbootstrapconfigs.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7196,6 +7196,13 @@ spec:
71967196
- generateName
71977197
- spec
71987198
type: object
7199+
requireClusterProvisioned:
7200+
description: "Trigger the bootstrapping when the linked cluster has
7201+
a True \"ClusterProvisioned\" condition. \n A new job will not be
7202+
triggered when the cluster is finally \"Ready\" because it will
7203+
already have the annotation that indicates the cluster has been
7204+
bootstrapped. \n Defaults to false."
7205+
type: boolean
71997206
requireClusterReady:
72007207
description: Wait for the remote cluster to be "ready" before creating
72017208
the jobs. Defaults to false.

charts/mccp/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fullnameOverride: ""
99
images:
1010
clustersService: docker.io/weaveworks/weave-gitops-enterprise-clusters-service:v0.0.2
1111
uiServer: docker.io/weaveworks/weave-gitops-enterprise-ui-server:v0.0.2
12-
clusterBootstrapController: docker.io/weaveworks/cluster-bootstrap-controller:v0.2.0
12+
clusterBootstrapController: weaveworks/cluster-bootstrap-controller:v0.3.0
1313

1414
serviceAccount:
1515
# Specifies whether a service account should be created

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/weaveworks/weave-gitops v0.9.5
1919
github.com/weaveworks/weave-gitops-enterprise-credentials v0.0.2
2020
github.com/weaveworks/weave-gitops-enterprise/common v0.0.0
21-
gopkg.in/yaml.v3 v3.0.1 // indirect
21+
gopkg.in/yaml.v3 v3.0.1
2222
k8s.io/api v0.25.0
2323
k8s.io/apimachinery v0.25.0
2424
k8s.io/cli-runtime v0.25.0
@@ -46,7 +46,7 @@ require (
4646
github.com/mkmik/multierror v0.3.0
4747
github.com/onsi/ginkgo/v2 v2.1.6
4848
github.com/spf13/viper v1.12.0
49-
github.com/weaveworks/cluster-controller v1.2.0
49+
github.com/weaveworks/cluster-controller v1.3.2
5050
github.com/weaveworks/go-checkpoint v0.0.0-20220223124739-fd9899e2b4f2
5151
github.com/weaveworks/policy-agent/api v1.0.4
5252
github.com/weaveworks/progressive-delivery v0.0.0-20220915081124-d9f0c4063521

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,8 +1273,8 @@ github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD
12731273
github.com/valyala/quicktemplate v1.7.0/go.mod h1:sqKJnoaOF88V07vkO+9FL8fb9uZg/VPSJnLYn+LmLk8=
12741274
github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc=
12751275
github.com/viki-org/dnscache v0.0.0-20130720023526-c70c1f23c5d8/go.mod h1:dniwbG03GafCjFohMDmz6Zc6oCuiqgH6tGNyXTkHzXE=
1276-
github.com/weaveworks/cluster-controller v1.2.0 h1:Q+c5GncBHAf6z7KgvyXM4sCDftC4LfY9d8giD1s8e+w=
1277-
github.com/weaveworks/cluster-controller v1.2.0/go.mod h1:e0Bka2iXVITQG+cG7/u8ZOB5QTaguMmgg+n5nrYaqxQ=
1276+
github.com/weaveworks/cluster-controller v1.3.2 h1:MBM2u5KDHhizXyx0oEByPXejgvg9e1qTQZuYtXgRVrI=
1277+
github.com/weaveworks/cluster-controller v1.3.2/go.mod h1:e0Bka2iXVITQG+cG7/u8ZOB5QTaguMmgg+n5nrYaqxQ=
12781278
github.com/weaveworks/go-checkpoint v0.0.0-20220223124739-fd9899e2b4f2 h1:EWUmjQdHzmBimPxGIus5JOvNPu+tWxOTC+Q4w9fJOok=
12791279
github.com/weaveworks/go-checkpoint v0.0.0-20220223124739-fd9899e2b4f2/go.mod h1:HfUHaw/CuYj2phXCM9etFQwvOQ3W0786feIEs9OMFHk=
12801280
github.com/weaveworks/pipeline-controller/api v0.0.0-20220916165727-cb8504f08c22 h1:Nn0uFFztrATEyTIwYd0yLXKk7Ee9Ndx6P3DFZsU4TxU=

0 commit comments

Comments
 (0)