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
// ArgoCD API does not return the execProvider block as it may contain
240
+
// sensitive data. Thus, we can't track the state of it
241
+
// and load it from state instead.
242
+
// See https://github.com/argoproj/argo-cd/commit/60c62a944b155702e6d89cbef4c04ff0f525692f#diff-47255bee56d3ad7830d9721f65c73fac53009229cb98c63c67745527d598835bL473-L486
243
+
c:=map[string]interface{}{}
253
244
ifargs, ok:=d.GetOk("config.0.exec_provider_config.0.args"); ok {
254
245
c["args"] =args
255
246
}
256
-
257
247
ifenv, ok:=d.GetOk("config.0.exec_provider_config.0.env"); ok {
258
248
c["env"] =env
259
249
}
250
+
ifcommand, ok:=d.GetOk("config.0.exec_provider_config.0.command"); ok {
251
+
c["command"] =command
252
+
}
253
+
ifapiVersion, ok:=d.GetOk("config.0.exec_provider_config.0.api_version"); ok {
254
+
c["api_version"] =apiVersion
255
+
}
256
+
ifinstallHint, ok:=d.GetOk("config.0.exec_provider_config.0.install_hint"); ok {
0 commit comments