File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 51
51
name : ' {{ local_hostname }}'
52
52
kubeletExtraArgs :
53
53
cloud-provider : external
54
+ provider-id : " openstack:///'{{ instance_id }}'"
54
55
clusterConfiguration :
55
56
apiServer :
56
57
extraArgs :
63
64
name : ' {{ local_hostname }}'
64
65
kubeletExtraArgs :
65
66
cloud-provider : external
67
+ provider-id : " openstack:///'{{ instance_id }}'"
66
68
files : []
67
69
version : " ${KUBERNETES_VERSION}"
68
70
---
@@ -133,6 +135,7 @@ spec:
133
135
name : ' {{ local_hostname }}'
134
136
kubeletExtraArgs :
135
137
cloud-provider : external
138
+ provider-id : " openstack:///'{{ instance_id }}'"
136
139
---
137
140
apiVersion : v1
138
141
kind : Secret
Original file line number Diff line number Diff line change 17
17
joinConfiguration :
18
18
nodeRegistration :
19
19
name : $${COREOS_OPENSTACK_HOSTNAME}
20
+ kubeletExtraArgs :
21
+ provider-id : null
20
22
initConfiguration :
21
23
nodeRegistration :
22
24
name : $${COREOS_OPENSTACK_HOSTNAME}
25
+ kubeletExtraArgs :
26
+ # Fixme(lentzi90): This is here just to override the value set in the default
27
+ # kustomization. It will be replaced with a value that works for flatcar in
28
+ # https://github.com/kubernetes-sigs/cluster-api-provider-openstack/pull/1564
29
+ provider-id : null
23
30
format : ignition
24
31
ignition :
25
32
containerLinuxConfig :
54
61
joinConfiguration :
55
62
nodeRegistration :
56
63
name : $${COREOS_OPENSTACK_HOSTNAME}
64
+ kubeletExtraArgs :
65
+ # Fixme(lentzi90): This is here just to override the value set in the default
66
+ # kustomization. It will be replaced with a value that works for flatcar in
67
+ # https://github.com/kubernetes-sigs/cluster-api-provider-openstack/pull/1564
68
+ provider-id : null
57
69
preKubeadmCommands :
58
70
- export COREOS_OPENSTACK_HOSTNAME=$${COREOS_OPENSTACK_HOSTNAME%.*}
59
71
- envsubst < /etc/kubeadm.yml > /etc/kubeadm.yml.tmp
Original file line number Diff line number Diff line change 20
20
nodeRegistration :
21
21
kubeletExtraArgs :
22
22
cloud-provider : external
23
+ provider-id : openstack:///'{{ instance_id }}'
23
24
name : ' {{ local_hostname }}'
24
25
---
25
26
apiVersion : cluster.x-k8s.io/v1beta1
@@ -83,11 +84,13 @@ spec:
83
84
nodeRegistration :
84
85
kubeletExtraArgs :
85
86
cloud-provider : external
87
+ provider-id : openstack:///'{{ instance_id }}'
86
88
name : ' {{ local_hostname }}'
87
89
joinConfiguration :
88
90
nodeRegistration :
89
91
kubeletExtraArgs :
90
92
cloud-provider : external
93
+ provider-id : openstack:///'{{ instance_id }}'
91
94
name : ' {{ local_hostname }}'
92
95
machineTemplate :
93
96
infrastructureRef :
Original file line number Diff line number Diff line change 20
20
nodeRegistration :
21
21
kubeletExtraArgs :
22
22
cloud-provider : external
23
+ provider-id : openstack:///'{{ instance_id }}'
23
24
name : ' {{ local_hostname }}'
24
25
---
25
26
apiVersion : cluster.x-k8s.io/v1beta1
@@ -83,11 +84,13 @@ spec:
83
84
nodeRegistration :
84
85
kubeletExtraArgs :
85
86
cloud-provider : external
87
+ provider-id : openstack:///'{{ instance_id }}'
86
88
name : ' {{ local_hostname }}'
87
89
joinConfiguration :
88
90
nodeRegistration :
89
91
kubeletExtraArgs :
90
92
cloud-provider : external
93
+ provider-id : openstack:///'{{ instance_id }}'
91
94
name : ' {{ local_hostname }}'
92
95
machineTemplate :
93
96
infrastructureRef :
You can’t perform that action at this time.
0 commit comments