Skip to content

Commit

Permalink
Honor registry-insecure flag in deploy command (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
norbjd authored Jun 7, 2024
1 parent 059f788 commit 056f3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func runDeploy(cmd *cobra.Command, newClient ClientFactory) (err error) {
if err != nil {
return
}
client, done := newClient(ClientConfig{Verbose: cfg.Verbose}, clientOptions...)
client, done := newClient(ClientConfig{Verbose: cfg.Verbose, InsecureSkipVerify: cfg.RegistryInsecure}, clientOptions...)
defer done()

// Deploy
Expand Down

0 comments on commit 056f3ff

Please sign in to comment.