Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert CAPO to v0.10.5 #725

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion roles/clusterapi/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ clusterapi_core_components: "{{ clusterapi_core_repo }}/releases/download/{{ clu

# The repo, version and manifest URL for the Cluster API OpenStack provider components
clusterapi_openstack_repo: https://github.com/kubernetes-sigs/cluster-api-provider-openstack
clusterapi_openstack_version: v0.11.3
clusterapi_openstack_version: v0.10.5
clusterapi_openstack_components: "{{ clusterapi_openstack_repo }}/releases/download/{{ clusterapi_openstack_version }}/infrastructure-components.yaml"

# The diagnostics address for Cluster API components
Expand Down 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
Loading