File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ clusterapi_core_components: "{{ clusterapi_core_repo }}/releases/download/{{ clu
7
7
8
8
# The repo, version and manifest URL for the Cluster API OpenStack provider components
9
9
clusterapi_openstack_repo : https://github.com/kubernetes-sigs/cluster-api-provider-openstack
10
- clusterapi_openstack_version : v0.9.0
10
+ clusterapi_openstack_version : v0.10.5
11
11
clusterapi_openstack_components : " {{ clusterapi_openstack_repo }}/releases/download/{{ clusterapi_openstack_version }}/infrastructure-components.yaml"
12
12
13
13
# The diagnostics address for Cluster API components
@@ -45,12 +45,14 @@ clusterapi_patches:
45
45
# Remove the caBundle from the CAPO custom resource definitions
46
46
# It is injected by cert-manager and causes validation issues if set outside of that
47
47
# The CAPI CRDs do not have the field set in the manifests that are shipped
48
+ # The caBundle exists on every CRD _except_ openstackfloatingippools
48
49
- patch : |-
49
50
- op: remove
50
51
path: /spec/conversion/webhook/clientConfig/caBundle
51
52
target:
52
53
kind: CustomResourceDefinition
53
54
labelSelector: cluster.x-k8s.io/provider=infrastructure-openstack
55
+ name: openstack(cluster|machine).*
54
56
# The manifests contain environment variable substitutions for feature gates that we do not need
55
57
- patch : |-
56
58
- op: replace
Original file line number Diff line number Diff line change 13
13
- name : Install Cluster API resources
14
14
command : kubectl apply -k {{ clusterapi_kustomization_directory }}
15
15
16
+ - name : Remove legacy CAPO mutating webhook
17
+ command : kubectl delete mutatingwebhookconfiguration capo-mutating-webhook-configuration
18
+ register : clusterapi_capo_mutating_webhook_delete
19
+ changed_when : clusterapi_capo_mutating_webhook_delete.rc == 0
20
+ failed_when : >-
21
+ clusterapi_capo_mutating_webhook_delete.rc != 0 and
22
+ "NotFound" not in clusterapi_capo_mutating_webhook_delete.stderr
23
+
16
24
- name : Wait for Cluster API controllers to become ready
17
25
command : >-
18
26
kubectl rollout status
You can’t perform that action at this time.
0 commit comments