Commit ceeb535
Add per-node secret rotation tracking with drift detection
Track secret deployment progress across nodeset nodes using a ConfigMap
to store detailed per-secret version info and a summary in the CR status.
This enables credential rotation safety by blocking deletion of old
credentials until all nodes have been updated with the new version.
Key capabilities:
- Per-node tracking of which secret versions are deployed
- Drift detection comparing cluster secrets vs deployed versions
- Gradual rollout support via AnsibleLimit-aware node tracking
- Stale deployment detection to prevent flip-flop during rotation
- Fail-safe defaults (assume drift when tracking is unavailable)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 64e838e commit ceeb535
9 files changed
Lines changed: 3812 additions & 20 deletions
File tree
- api
- bases
- dataplane/v1beta1
- bindata
- crds
- rbac
- cmd
- config/crd/bases
- internal/controller/dataplane
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1987 | 1987 | | |
1988 | 1988 | | |
1989 | 1989 | | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
1990 | 2019 | | |
1991 | 2020 | | |
1992 | 2021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
166 | 188 | | |
167 | 189 | | |
168 | 190 | | |
| |||
183 | 205 | | |
184 | 206 | | |
185 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
186 | 216 | | |
187 | 217 | | |
188 | 218 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21193 | 21193 | | |
21194 | 21194 | | |
21195 | 21195 | | |
| 21196 | + | |
| 21197 | + | |
| 21198 | + | |
| 21199 | + | |
| 21200 | + | |
| 21201 | + | |
| 21202 | + | |
| 21203 | + | |
| 21204 | + | |
| 21205 | + | |
| 21206 | + | |
| 21207 | + | |
| 21208 | + | |
| 21209 | + | |
| 21210 | + | |
| 21211 | + | |
| 21212 | + | |
| 21213 | + | |
| 21214 | + | |
| 21215 | + | |
| 21216 | + | |
| 21217 | + | |
| 21218 | + | |
| 21219 | + | |
| 21220 | + | |
| 21221 | + | |
| 21222 | + | |
| 21223 | + | |
| 21224 | + | |
21196 | 21225 | | |
21197 | 21226 | | |
21198 | 21227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
162 | 170 | | |
163 | 171 | | |
164 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1987 | 1987 | | |
1988 | 1988 | | |
1989 | 1989 | | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
1990 | 2019 | | |
1991 | 2020 | | |
1992 | 2021 | | |
| |||
0 commit comments