Skip to content

Commit

Permalink
Fix acceptance tests passing "-config" instead of "-kubeconfig" to CLI (
Browse files Browse the repository at this point in the history
#1427)

* config -> kubeconfig

* Run GKE Acceptance

* Stop GKE acceptance tests running on PRs
  • Loading branch information
Thomas Eckert authored Aug 16, 2022
1 parent 49a04f1 commit ea8c505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acceptance/framework/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (c *CLI) Run(t *testing.T, options *k8s.KubectlOptions, args ...string) ([]

// Append configuration from `options` to the command.
if options.ConfigPath != "" {
args = append(args, "-config", options.ConfigPath)
args = append(args, "-kubeconfig", options.ConfigPath)
}
if options.ContextName != "" {
args = append(args, "-context", options.ContextName)
Expand Down

0 comments on commit ea8c505

Please sign in to comment.