diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index be6329b2..5fcfa1a7 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -31,3 +31,6 @@ jobs: - name: ${{ matrix.target }} run: make ${{ matrix.target }} + + - name: check there are no changes after re-generation + run: test -z "$(git status --porcelain)" || (echo 'Changes detected after running make build'; git status; git --no-pager diff; false) diff --git a/bootstrap/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml b/bootstrap/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml index 067dbfa2..420feccb 100644 --- a/bootstrap/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml +++ b/bootstrap/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml @@ -69,7 +69,9 @@ spec: properties: infrastructureTemplate: description: InfrastructureTemplate is a required reference to a custom - resource offered by an infrastructure provider. + resource offered by an infrastructure provider. In the next API + version we will move this into the `KThreesControlPlaneMachineTemplate` + struct. See https://github.com/cluster-api-provider-k3s/cluster-api-k3s/issues/62 properties: apiVersion: description: API version of the referent. diff --git a/controlplane/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml b/controlplane/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml index 067dbfa2..420feccb 100644 --- a/controlplane/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml +++ b/controlplane/config/crd/bases/controlplane.cluster.x-k8s.io_kthreescontrolplanes.yaml @@ -69,7 +69,9 @@ spec: properties: infrastructureTemplate: description: InfrastructureTemplate is a required reference to a custom - resource offered by an infrastructure provider. + resource offered by an infrastructure provider. In the next API + version we will move this into the `KThreesControlPlaneMachineTemplate` + struct. See https://github.com/cluster-api-provider-k3s/cluster-api-k3s/issues/62 properties: apiVersion: description: API version of the referent.