mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-01 13:09:51 +02:00
Handle --disable-openapi-validation parameter in helm upgrade (#1396)
This commit is contained in:
@@ -1841,6 +1841,11 @@ func (st *HelmState) flagsForUpgrade(helm helmexec.Interface, release *ReleaseSp
|
||||
}
|
||||
}
|
||||
|
||||
if release.DisableOpenAPIValidation != nil && *release.DisableOpenAPIValidation ||
|
||||
release.DisableOpenAPIValidation == nil && st.HelmDefaults.DisableOpenAPIValidation != nil && *st.HelmDefaults.DisableOpenAPIValidation {
|
||||
flags = append(flags, "--disable-openapi-validation")
|
||||
}
|
||||
|
||||
flags = st.appendConnectionFlags(flags, release)
|
||||
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user