Commit f67e778
[4211][helm] add korifiGatewayNamespace to allow gateway ns override (#4214)
* [4211][helm] add korifiGatewayNamespace to allow gateway ns override
* [4211][helm] add korifiGatewayNamespace to allow gateway ns override
* Add configurable gatewayNamespace with validation
- Add gatewayNamespace as a networking Helm value (default: korifi-gateway)
- Update values.schema.json with proper validation for the new field
- Modify gateway.yaml to use configurable namespace instead of release-name based
- Update api/ingress.yaml to reference gateway in the correct namespace
- Add pre-install/pre-upgrade hook to validate namespace exists before installation
- Include TTL on validation job for automatic cleanup
- Update Helm documentation to reflect the new configuration option
This change allows users to specify a custom namespace for the Korifi Gateway
instead of being hardcoded to {release-namespace}-gateway, while ensuring
backwards compatibility and proper validation.
* upd korifi-api ns
* remove unneeded validation cronjob
---------
Co-authored-by: Danail Branekov <[email protected]>1 parent 470b866 commit f67e778
File tree
5 files changed
+10
-8
lines changed- helm/korifi
- api
- templates
5 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
8 | 3 | | |
| |||
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
15 | | - | |
| 10 | + | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
| |||
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
25 | | - | |
| 20 | + | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
475 | 480 | | |
476 | 481 | | |
477 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
0 commit comments