Commit 57d3020
committed
Fix make install
Running `make install` fails with error:
The CustomResourceDefinition "openstackcontrolplanes.core.openstack.org" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
This patch fixes this problem by using `kubectl replace` instead of
`kubectl apply`.
Replace was chosen over `kubectl apply --server-side` because the apply
may fail to merge with the existing CRD, whereas replace will not fail.1 parent 92d942c commit 57d3020
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments