Commit b6963e6
committed
fix: reconcile ownership label before content-equality check
Address PR review feedback:
- Label reconciliation now runs before content comparison so leftover
CMs from the old static-template path get their managed-by label
adopted even when content already matches PlatformConfig.
- Add prod/OpenShift override note to DefaultSpiffeHelperConfig.
- Add test for label adoption on leftover CMs.
RHAIENG-4939
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Ian Miller <milleryan2003@gmail.com>1 parent c7996d1 commit b6963e6
3 files changed
Lines changed: 40 additions & 5 deletions
File tree
- kagenti-operator/internal
- controller
- webhook/config
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1082 | 1082 | | |
1083 | 1083 | | |
1084 | 1084 | | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
| 1085 | + | |
1088 | 1086 | | |
1089 | | - | |
1090 | 1087 | | |
1091 | 1088 | | |
1092 | 1089 | | |
1093 | | - | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1094 | 1100 | | |
1095 | 1101 | | |
1096 | 1102 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
900 | 926 | | |
901 | 927 | | |
902 | 928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
0 commit comments