We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f819c37 commit 47ce970Copy full SHA for 47ce970
argocd/provider.go
@@ -262,6 +262,7 @@ func initApiClient(d *schema.ResourceData) (
262
if v, ok := k8sGetOk(d, "exec"); ok {
263
exec := &clientcmdapi.ExecConfig{}
264
if spec, ok := v.([]interface{})[0].(map[string]interface{}); ok {
265
+ exec.InteractiveMode = clientcmdapi.IfAvailableExecInteractiveMode
266
exec.APIVersion = spec["api_version"].(string)
267
exec.Command = spec["command"].(string)
268
exec.Args = expandStringSlice(spec["args"].([]interface{}))
0 commit comments