Commit b0fb692
[multiple] Use strategic merge patch in Keystone federation kustomization
Replace the JSON Patch (op/path/value) entries in the kustomize file
written by hook_controlplane_config.yml with a single strategic merge
patch. The JSON Patch approach was fragile: `add /spec/tls/caBundleSecretName`
would fail if spec.tls had no parent yet, and adding the parent first as
an empty dict would clobber existing TLS fields. A strategic merge patch
merges at each level, so it works regardless of whether spec.tls already
exists and leaves any pre-existing TLS fields untouched.
Signed-off-by: Ade Lee <alee@redhat.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Made-with: Cursor1 parent 5fdbfd7 commit b0fb692
1 file changed
Lines changed: 21 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
0 commit comments