Márk Sági-Kazár
2024-05-16 @ Dagger Community Call
docker login
helm registry login
helm registry login
~/.config/helm/registry/config.json
Can we mount that file as a secret into the container?
Let’s build a module for it!
var password *Secret
config, _ := dag.RegistryConfig().
WithRegistryAuth("ghcr.io", "me", password).
Secret(ctx)
dag.Container().
WithMountedSecret("HELM_HOME/registry/config.json", config)
Find it as registry-config on Daggerverese!
Any questions?