Skip to content

Commit dabda49

Browse files
authored
chore: ci check to ensure generation has been run (#65)
* chore: ci check to ensure generation has been run
1 parent 962aad7 commit dabda49

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/pr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ jobs:
3131

3232
- name: ${{ matrix.target }}
3333
run: make ${{ matrix.target }}
34+
35+
- name: check there are no changes after re-generation
36+
run: test -z "$(git status --porcelain)" || (echo 'Changes detected after running make build'; git status; git --no-pager diff; false)

bootstrap/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ spec:
6969
properties:
7070
infrastructureTemplate:
7171
description: InfrastructureTemplate is a required reference to a custom
72-
resource offered by an infrastructure provider.
72+
resource offered by an infrastructure provider. In the next API
73+
version we will move this into the `KThreesControlPlaneMachineTemplate`
74+
struct. See https://github.com/cluster-api-provider-k3s/cluster-api-k3s/issues/62
7375
properties:
7476
apiVersion:
7577
description: API version of the referent.

controlplane/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ spec:
6969
properties:
7070
infrastructureTemplate:
7171
description: InfrastructureTemplate is a required reference to a custom
72-
resource offered by an infrastructure provider.
72+
resource offered by an infrastructure provider. In the next API
73+
version we will move this into the `KThreesControlPlaneMachineTemplate`
74+
struct. See https://github.com/cluster-api-provider-k3s/cluster-api-k3s/issues/62
7375
properties:
7476
apiVersion:
7577
description: API version of the referent.

0 commit comments

Comments
 (0)