Commit 5504fd4
authored
Fix etcd cert secrets owner in hosting cluster mode (#1258)
When K0smotronCluster uses spec.kubeconfigRef, etcd leaf certs (server/peer/apiserver-etcd-client) were generated but not persisted in the hosting cluster due to an incorrect OwnerReference.
Use the external owner when present (same as the control-plane certs path) to ensure secrets are created/retained and etcd pods can start.
Signed-off-by: kahirokunn <okinakahiro@gmail.com>1 parent ff93cd1 commit 5504fd4
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
118 | 124 | | |
0 commit comments