Merge pull request #224 from zeyadmoslem/main

feat(k3d): allow passing extra cluster args from config
This commit is contained in:
Kevin Franklin Kim 2025-08-25 10:19:13 +02:00 committed by GitHub
commit f506782d34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,9 @@ k3d:
alias: foomo
enableTraefikRouter: false
image: rancher/k3s:v1.28.2-k3s1
args:
- "--port"
- "80:80@loadbalancer"
```
### Ownbrew

View File

@ -230,6 +230,7 @@ func (c *Command) up(ctx context.Context, r *readline.Readline) error {
).
Env(c.kubectl.Cluster(name).Env("")).
Args(args...).
Args(clusterCfg.Args...).
Args(r.AdditionalArgs()...).
Args(r.AdditionalFlags()...).
Run()