You can pass in any k3s argument or any k3d argument via the additionalArgs array.
It is a great way to pass in a different k8s version.
You can control the container gateway hostname via the CRI_GATEWAY environment variable. By default the container gateway hostname is host.docker.internal. Ie:
- for podman
CRI_GATEWAY=host.containers.internal - other hosts
CRI_GATEWAY=my-gateway - or ip
CRI_GATEWAY=172.18.0.1
You can add required flags, such as --grpc-web, to the argocd commands by adding ARGOFLAGS an environment variable.
ARGOFLAGS applies to all the Argo CD commands, so ensure it is a global flag.
Eg, ARGOFLAGS=--grpc-web
Set the environment variable DEBUG=1 to see more verbose logs.