File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,11 @@ ARG TAG
40
40
RUN cd config/manager \
41
41
&& kustomize edit set image controller=${REGISTRY_AND_USERNAME}/${NAME}:${TAG} \
42
42
&& cd - \
43
- && kubectl kustomize config/default >/release.yaml
43
+ && kubectl kustomize config/default >/bootstrap-components.yaml \
44
+ && cp config/metadata/metadata.yaml /metadata.yaml
44
45
FROM scratch AS release
45
- COPY --from=release-build /release.yaml /release.yaml
46
+ COPY --from=release-build /bootstrap-components.yaml /bootstrap-components.yaml
47
+ COPY --from=release-build /metadata.yaml /metadata.yaml
46
48
47
49
FROM build AS binary
48
50
RUN --mount=type=cache,target=/root/.cache/go-build GOOS=linux go build -ldflags "-s -w" -o /manager
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ There are a few corequisites and assumptions that go into using this project:
15
15
## Building and Installing
16
16
17
17
This project can be built simply by running ` make release ` from the root directory.
18
- Doing so will create a file called ` _out/release .yaml ` .
18
+ Doing so will create a file called ` _out/bootstrap-components .yaml ` .
19
19
If you wish, you can tweak settings by editing the release yaml.
20
- This file can then be installed into your management cluster with ` kubectl apply -f _out/release .yaml ` .
20
+ This file can then be installed into your management cluster with ` kubectl apply -f _out/bootstrap-components .yaml ` .
21
21
22
22
Note that CABPT should be deployed as part of a set of controllers for Cluster API.
23
23
You will need at least the upstream CAPI components and an infrastructure provider for v1alpha2 CAPI capabilities.
Original file line number Diff line number Diff line change
1
+ apiVersion : clusterctl.cluster.x-k8s.io/v1alpha3
2
+ kind : Metadata
3
+ releaseSeries :
4
+ - major : 0
5
+ minor : 1
6
+ contract : v1alpha2
You can’t perform that action at this time.
0 commit comments