You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# cluster-bootstrap-controller
2
2
3
-
This is a controller that tracks [CAPI](https://github.com/kubernetes-sigs/cluster-api)[Cluster](https://cluster-api.sigs.k8s.io/developer/architecture/controllers/cluster.html) objects.
3
+
This is a controller that tracks [GitopsCluster] objects.
4
4
5
5
It provides a CR for a `ClusterBootstrapConfig` which provides a [Job](https://kubernetes.io/docs/concepts/workloads/controllers/job/) template.
6
6
7
-
When a CAPI Cluster is "provisioned" a Job is created from the template, the template can access multiple fields.
7
+
When a GitopsCluster is "Ready" a Job is created from the template, the template can access multiple fields.
8
8
9
9
```yaml
10
10
apiVersion: capi.weave.works/v1alpha1
@@ -34,7 +34,7 @@ spec:
34
34
secretName: '{{ .ObjectMeta.Name }}-kubeconfig'
35
35
```
36
36
37
-
This is using Go [templating](https://pkg.go.dev/text/template) and the `Cluster` object is provided as the context, this means that expressions like `{{ .ObjectMeta.Name }}` will get the _name_ of the Cluster that has transitioned to "provisioned".
37
+
This is using Go [templating](https://pkg.go.dev/text/template) and the `GitopsCluster` object is provided as the context, this means that expressions like `{{ .ObjectMeta.Name }}` will get the _name_ of the GitopsCluster that has transitioned to "Ready".
38
38
39
39
## Annotations
40
40
@@ -55,8 +55,6 @@ e.g.
55
55
56
56
## Installation
57
57
58
-
You will need to have CAPI installed first, see the [CAPI Quick Start](https://cluster-api.sigs.k8s.io/user/quick-start.html).
59
-
60
58
Release files are available https://github.com/weaveworks/cluster-bootstrap-controller/releases
0 commit comments