Commit 3870f86
committed
Fix stale SecretHashes on nodeset status after node removal
When a node is removed from a nodeset and a full deployment
(no ServicesOverride) succeeds, overwrite the nodeset's
SecretHashes with the deployment's hashes instead of merging.
This drops stale TLS cert secret hash entries for the removed
node. Partial deployments (with ServicesOverride) continue to
merge additively to preserve hashes from other deployments.
Change-Id: I12abffa18af63b14630f80f5a0e6235158f4a9ef
Signed-off-by: rabi <ramishra@redhat.com>1 parent ed19ffe commit 3870f86
File tree
1 file changed
+6
-2
lines changed- internal/controller/dataplane
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
596 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
597 | 601 | | |
598 | 602 | | |
599 | 603 | | |
| |||
0 commit comments