You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(config): rename startupTaintKeys to knownStartupTaintKeys (#19)
## Summary
- Renames `startupTaintKeys` to `knownStartupTaintKeys` across all
config, Go code, tests, Helm values, and docs
- Adds detailed documentation explaining that Vigil does NOT remove
these taints — they are managed by their respective controllers (CSI
drivers, CNI plugins, etc.)
- The setting is used solely for DaemonSet discovery: stripped during
scheduling predicate evaluation so DaemonSets that don't tolerate
temporary taints aren't incorrectly excluded
**Breaking change:** Config key renamed from `startupTaintKeys` to
`knownStartupTaintKeys`
## Test plan
- [x] All unit tests pass
- [x] Code compiles (including stress tests)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
# All known temporary startup taint keys in the cluster.
19
+
# Used for DaemonSet discovery only — Vigil does not remove these taints.
20
+
# Their respective controllers (CSI drivers, CNI plugins) handle removal.
21
+
knownStartupTaintKeys:
20
22
- "node.example.com/initializing"
21
23
- "cni.istio.io/not-ready"
22
24
- "ebs.csi.aws.com/agent-not-ready"
@@ -48,6 +50,6 @@ excludeDaemonSets:
48
50
|-------|------|---------|-------------|
49
51
| `taintKey` | string | `node.nextdoor.com/initializing` | The taint key to watch and remove |
50
52
| `taintEffect` | string | `NoSchedule` | The taint effect to match |
51
-
| `startupTaintKeys` | []string | `[taintKey]` | All startup taint keys in the cluster |
53
+
| `knownStartupTaintKeys` | []string | `[taintKey]` | All temporary startup taint keys in the cluster (used for discovery only — Vigil does not remove these) |
52
54
| `timeoutSeconds` | int | `120` | Max wait time before forced taint removal |
53
55
| `excludeDaemonSets.byName` | []object | `[]` | DaemonSets to exclude by namespace/name |
0 commit comments