Commit a291ed7
enable CRD upgrades via Helm with feature flags (#2809)
* enables crd upgrades via Helm with feature flags
- allow for feature flagging crd installs
- moves from crds/ to templates/ to allow for upgraded
- added wrapper go tool for feature flag and helm keep conditionals
Signed-off-by: Chris Burns <[email protected]>
* bumps chart
Signed-off-by: Chris Burns <[email protected]>
* Update cmd/thv-operator/Taskfile.yml
Co-authored-by: Jakub Hrozek <[email protected]>
* adds docs and fixes error paths in wrapper tool
- we want to safeguard against larger files
- we want error if there is a CRD that isn't in the feature flag map
- adds some docs to the main readme about why we put crds in template
Signed-off-by: Chris Burns <[email protected]>
* updates crds
Signed-off-by: Chris Burns <[email protected]>
* updates crds
Signed-off-by: Chris Burns <[email protected]>
* bumps chart
Signed-off-by: Chris Burns <[email protected]>
---------
Signed-off-by: Chris Burns <[email protected]>
Co-authored-by: Jakub Hrozek <[email protected]>1 parent c914d42 commit a291ed7
File tree
34 files changed
+4161
-13
lines changed- .github/workflows
- cmd/thv-operator
- test-integration
- mcp-external-auth
- mcp-group
- mcp-registry
- mcp-server
- virtualmcp
- deploy/charts/operator-crds
- crd-helm-wrapper
- templates
- files/crds
- templates
34 files changed
+4161
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
185 | 195 | | |
186 | | - | |
| 196 | + | |
187 | 197 | | |
188 | | - | |
| 198 | + | |
189 | 199 | | |
190 | 200 | | |
191 | 201 | | |
192 | | - | |
193 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
194 | 207 | | |
195 | 208 | | |
196 | 209 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
0 commit comments