Skip to content

Commit e4ea418

Browse files
committed
Remove unnecessary patch of CAPO resources
1 parent 5827ac6 commit e4ea418

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

roles/clusterapi/defaults/main.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,6 @@ clusterapi_manifests:
4747

4848
# List of patches to apply to the resources in the manifests
4949
clusterapi_patches:
50-
# Remove the caBundle from the CAPO custom resource definitions
51-
# It is injected by cert-manager and causes validation issues if set outside of that
52-
# The CAPI CRDs do not have the field set in the manifests that are shipped
53-
# The caBundle exists on every CRD _except_ openstackfloatingippools
54-
- patch: |-
55-
- op: remove
56-
path: /spec/conversion/webhook/clientConfig/caBundle
57-
target:
58-
kind: CustomResourceDefinition
59-
labelSelector: cluster.x-k8s.io/provider=infrastructure-openstack
60-
name: openstack(cluster|machine).*
6150
# The manifests contain environment variable substitutions for feature gates that we do not need
6251
- patch: |-
6352
- op: replace

0 commit comments

Comments
 (0)