Commit cc1af16
fix(zelyo-policies): default all scanning surfaces to opt-in (#78)
* fix(zelyo-policies): default all scanning surfaces to opt-in
A fresh `helm install zelyo-policies` previously shipped a catch-all
SecurityPolicy (empty namespaces = every pod in every namespace), a
MonitoringPolicy with cluster-wide anomaly and log scanning, and two
ClusterScans, all reconciling on hardcoded 5-minute intervals. On
non-trivial clusters this produced a scan storm on install that could
starve the operator and the API server.
Flip `securityPolicies.enabled`, `clusterScans.enabled`, and
`monitoring.enabled` to `false` by default. Also flip the catch-all
`environments.default.enabled` so that even after users opt top-level
scanning in, the cluster-wide policy stays off until they explicitly
ask for it. Update NOTES.txt with concrete `helm upgrade --set`
commands showing how to turn each surface on.
No controller logic changes; the `schedule:` field on each CR still
gets written through as today. Values comments updated to reflect the
opt-in model.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(zelyo-policies): use .Release.Name in NOTES.txt upgrade example
Previously the example `helm upgrade` command hardcoded the release
name `zelyo-policies`, which misled users who installed the chart
under a different name. Switch to `{{ .Release.Name }}` so the
printed command always matches the actual release.
Addresses review feedback on PR #78.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 51b9a8e commit cc1af16
2 files changed
Lines changed: 49 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
60 | 79 | | |
61 | 80 | | |
62 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | | - | |
| 20 | + | |
| 21 | + | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
| 25 | + | |
15 | 26 | | |
16 | 27 | | |
17 | 28 | | |
| |||
37 | 48 | | |
38 | 49 | | |
39 | 50 | | |
| 51 | + | |
| 52 | + | |
40 | 53 | | |
41 | | - | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
61 | 74 | | |
62 | 75 | | |
63 | 76 | | |
64 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
65 | 82 | | |
66 | | - | |
| 83 | + | |
67 | 84 | | |
68 | 85 | | |
69 | 86 | | |
| |||
93 | 110 | | |
94 | 111 | | |
95 | 112 | | |
| 113 | + | |
96 | 114 | | |
97 | | - | |
| 115 | + | |
98 | 116 | | |
99 | 117 | | |
100 | 118 | | |
| |||
140 | 158 | | |
141 | 159 | | |
142 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
143 | 165 | | |
144 | | - | |
| 166 | + | |
145 | 167 | | |
146 | 168 | | |
147 | 169 | | |
| |||
0 commit comments