Replace Helm lookup functions with FluxCD valuesFrom mechanism for reading cluster and namespace configuration. Changes: - Create Secret cozystack-values in each namespace with values.yaml key containing _cluster and _namespace configuration as nested YAML - Configure HelmReleases to read from this Secret via valuesFrom (valuesKey defaults to values.yaml, so it can be omitted) - Update cozy-lib helpers to access config via .Values._cluster - Add default values for required _cluster keys to ensure all fields exist - Update Go code (cozystack-api and helm reconciler) to use new format This eliminates the need for Helm lookup functions while maintaining the same configuration interface for charts. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com> |
||
|---|---|---|
| .. | ||
| charts | ||
| hack | ||
| images | ||
| logos | ||
| templates | ||
| Chart.yaml | ||
| Makefile | ||
| README.md | ||
| values.schema.json | ||
| values.yaml | ||
BootBox
Parameters
Common parameters
| Name | Description | Type | Value |
|---|---|---|---|
whitelistHTTP |
Secure HTTP by enabling client networks whitelisting. | bool |
true |
whitelist |
List of client networks. | []string |
[] |
machines |
Configuration of physical machine instances. | []object |
[] |
machines[i].hostname |
Hostname. | string |
"" |
machines[i].arch |
Architecture. | string |
"" |
machines[i].ip |
IP address configuration. | object |
{} |
machines[i].ip.address |
IP address. | string |
"" |
machines[i].ip.gateway |
IP gateway. | string |
"" |
machines[i].ip.netmask |
Netmask. | string |
"" |
machines[i].leaseTime |
Lease time. | int |
0 |
machines[i].mac |
MAC addresses. | []string |
[] |
machines[i].nameServers |
Name servers. | []string |
[] |
machines[i].timeServers |
Time servers. | []string |
[] |
machines[i].uefi |
UEFI. | bool |
false |