File tree Expand file tree Collapse file tree 4 files changed +18
-12
lines changed
charts/cluster-api-cluster-openstack Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ apiVersion: v2
2
2
name : cluster-api-cluster-openstack
3
3
description : A Helm chart to deploy a Kubernetes Cluster
4
4
type : application
5
- version : v0.3.14
5
+ version : v0.3.15
6
6
icon : https://raw.githubusercontent.com/eschercloudai/helm-cluster-api/main/icons/default.png
Original file line number Diff line number Diff line change @@ -5,13 +5,6 @@ metadata:
5
5
name : {{ .Release.Name }}
6
6
labels :
7
7
{{- include "openstackcluster.labels" . | nindent 4 }}
8
- annotations :
9
- # If we just delete all the things, I believe there is a race where
10
- # CAPO blows away the cluster infrastructure before it has a chance
11
- # to delete the machines, and we get into a deadlock state. By
12
- # provisioning the cluster last, and deleting it first, we should be
13
- # able to let CAPI take care of its own ordering.
14
- argocd.argoproj.io/sync-wave : " 1"
15
8
spec :
16
9
clusterNetwork :
17
10
pods :
@@ -40,6 +33,9 @@ metadata:
40
33
name : {{ .Release.Name }}
41
34
labels :
42
35
{{- include "openstackcluster.labels" . | nindent 4 }}
36
+ annotations :
37
+ # Let CAPO do this in its chosen order.
38
+ argocd.argoproj.io/sync-options : Delete=false
43
39
spec :
44
40
cloudName : {{ .Values.openstack.cloud }}
45
41
identityRef :
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ metadata:
5
5
name : " {{ .Release.Name }}-control-plane"
6
6
labels :
7
7
{{- include "openstackcluster.labels" . | nindent 4 }}
8
+ annotations :
9
+ # Let CAPO do this in its chosen order.
10
+ argocd.argoproj.io/sync-options : Delete=false
8
11
spec :
9
12
version : " {{ .Values.controlPlane.version }}"
10
13
replicas : {{ .Values.controlPlane.replicas }}
@@ -62,6 +65,9 @@ metadata:
62
65
name : {{ .Release.Name }}-control-plane-{{ include "openstack.discriminator.control-plane" . }}
63
66
labels :
64
67
{{- include "openstackcluster.labels" . | nindent 4 }}
68
+ annotations :
69
+ # Let CAPO do this in its chosen order.
70
+ argocd.argoproj.io/sync-options : Delete=false
65
71
spec :
66
72
template :
67
73
spec :
Original file line number Diff line number Diff line change @@ -20,10 +20,8 @@ metadata:
20
20
labels :
21
21
{{- include "openstackcluster.labels" $ | nindent 4 }}
22
22
annotations :
23
- # See comment in cluster.yaml. ArgoCD has some smarts that monitor
24
- # the status of Cluster/Machine/MachineDeployment, so we need to
25
- # provision this after any referenced templates.
26
- argocd.argoproj.io/sync-wave : " 2"
23
+ # Let CAPO do this in its chosen order.
24
+ argocd.argoproj.io/sync-options : Delete=false
27
25
{{- include "openstackcluster.autoscalingAnnotations" $pool | nindent 4 }}
28
26
spec :
29
27
clusterName : " {{ $.Release.Name }}"
@@ -53,6 +51,9 @@ metadata:
53
51
name : {{ $pool_name_discriminated }}
54
52
labels :
55
53
{{- include "openstackcluster.labels" $ | nindent 4 }}
54
+ annotations :
55
+ # Let CAPO do this in its chosen order.
56
+ argocd.argoproj.io/sync-options : Delete=false
56
57
spec :
57
58
template :
58
59
spec :
@@ -77,6 +78,9 @@ metadata:
77
78
name : {{ $pool_name_discriminated }}
78
79
labels :
79
80
{{- include "openstackcluster.labels" $ | nindent 4 }}
81
+ annotations :
82
+ # Let CAPO do this in its chosen order.
83
+ argocd.argoproj.io/sync-options : Delete=false
80
84
spec :
81
85
template :
82
86
spec :
You can’t perform that action at this time.
0 commit comments