Open kvaps opened 3 months ago
The cluster domain can also be extracted from resolv.conf using the following awk command:
awk '$1 == "search" { sub(/^.*.svc./, "", $2); print $2 }' /etc/resolv.conf
It might be possible to use this method to automate the configuration of the cluster domain for users.
However, we need to consider the convenience of local development. All commands like make show, make diff, and make apply should also receive the correct settings.
We have to provide an extra options for cozystack configmap, which can be optional:
If they are specified, we have to consume them by installer.sh instead of hardcoded values: https://github.com/aenix-io/cozystack/blob/838bee5d25bbe65a48f01e1de610298a4beb91cf/manifests/cozystack-installer.yaml#L73-L76
and also pass them for
fluxcd
andclilium
values.details: