Skip to content

Commit

Permalink
Revert "Remove unnecessary patch of CAPO resources"
Browse files Browse the repository at this point in the history
This reverts commit 56465ee and is required for the rollback to CAPO v0.10.5
  • Loading branch information
sd109 committed Dec 19, 2024
1 parent b25d774 commit dca7483
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/clusterapi/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ 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 dca7483

Please sign in to comment.