Skip to content

Commit

Permalink
Remove unnecessary patch of CAPO resources
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor committed Dec 6, 2024
1 parent b75d9e8 commit 56465ee
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions roles/clusterapi/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ clusterapi_manifests:

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

0 comments on commit 56465ee

Please sign in to comment.