fix request.operation in globalValues is always set to CREATE
@@ -327,9 +327,12 @@ func GetVariable(variablesString, valuesFile string, fs billy.Filesystem, isGit
}
if globalValMap != nil {
+ _, exist := globalValMap["request.operation"]
+ if !exist {
globalValMap["request.operation"] = "CREATE"
log.Log.V(3).Info("Defaulting request.operation to CREATE")
}
+ }
storePolicies := make([]store.Policy, 0)
for policyName, ruleMap := range valuesMapRule {
