Skip to content

Commit

Permalink
fix: fix vault tls check url for k3d (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
echoboomer authored Apr 21, 2023
1 parent ee01d88 commit 4746fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/k3d/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ func runK3d(cmd *cobra.Command, args []string) error {
return err
}

err = helpers.TestEndpointTLS(k3d.VaultURL)
err = helpers.TestEndpointTLS(strings.Replace(k3d.VaultURL, "https://", "", 1))
if err != nil {
return fmt.Errorf(
"unable to reach vault over https - this is likely due to the mkcert certificate store missing. please install it via `%s -install`", config.MkCertClient,
Expand Down

0 comments on commit 4746fa8

Please sign in to comment.