wildfly-operator icon indicating copy to clipboard operation
wildfly-operator copied to clipboard

Check that the CRD is up to date on each PR

Open yersan opened this issue 3 years ago • 0 comments

The CRD must be generated when you need to deploy the Operator in your cluster. The make target to generate it is the following one:

(main): $ make manifests

The CRD is generated at wildfly-operator/config/crd/bases/wildfly.org_wildflyservers.yaml

(0.5.x): $ ./operator-sdk generate crds or $ make codegen

The CRD is generated at wildfly-operator/deploy/crds/wildfly.org_wildflyservers_crd.yaml

We have to ensure that the CRD is always up to date and fail to accept the PR in such a case. At first glance, it seems a custom GitHub action could do this kind of work.

yersan avatar Nov 18 '22 08:11 yersan