You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Many tools support docker/config file to set authentication for private registries.
Luet has --auth-username and --auth-password besides other cli arguments to set such.
Unfortunately, in some cases (to be specific Auroraboot) these cli args cannot be set directly!
Describe the solution you'd like
Bind the cli args (cobra.Command.Flags) to config file or environment variables (viper.BindPFlag)
That way, one could override these by setting appropriate environment variables.
Describe alternatives you've considered
An alternative was to follow the approach of other tools and support for docker config to read in authentication for registries.
Additional context
For now the proposed enhancement works for me and I was happy to contribute my changes
Feel free to comment any alternatives, additional views on that!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Many tools support docker/config file to set authentication for private registries.
Luet has
--auth-username
and--auth-password
besides other cli arguments to set such.Unfortunately, in some cases (to be specific Auroraboot) these cli args cannot be set directly!
Describe the solution you'd like
Bind the cli args (
cobra.Command.Flags
) to config file or environment variables (viper.BindPFlag
)That way, one could override these by setting appropriate environment variables.
Describe alternatives you've considered
An alternative was to follow the approach of other tools and support for docker config to read in authentication for registries.
Additional context
For now the proposed enhancement works for me and I was happy to contribute my changes
Feel free to comment any alternatives, additional views on that!
The text was updated successfully, but these errors were encountered: