void deleteConsoleVersionsFromValues()

in resources/repositories/cluster-mgmt.git/stages/Helmfile.groovy [55:63]


    void deleteConsoleVersionsFromValues(context, valuesPath){
        script.dir("${context.workDir}"){
            LinkedHashMap valuesContext = script.readYaml file: valuesPath
            valuesContext.remove('consoleVersions')
            script.writeYaml data: valuesContext, file: valuesPath, encoding: "UTF-8", overwrite: true
            processGit(context, "admin", valuesPath)

        }
    }