Class HelmUpgrade

  • All Implemented Interfaces:
    com.citi.gradle.plugins.helm.command.ConfigurableHelmInstallFromRepositoryOptions , com.citi.gradle.plugins.helm.command.ConfigurableHelmInstallationOptions , com.citi.gradle.plugins.helm.command.ConfigurableHelmOptions , com.citi.gradle.plugins.helm.command.ConfigurableHelmServerOperationOptions , com.citi.gradle.plugins.helm.command.ConfigurableHelmServerOptions , com.citi.gradle.plugins.helm.command.ConfigurableHelmValueOptions , com.citi.gradle.plugins.helm.command.GlobalHelmOptions , com.citi.gradle.plugins.helm.command.HelmInstallFromRepositoryOptions , com.citi.gradle.plugins.helm.command.HelmInstallationOptions , com.citi.gradle.plugins.helm.command.HelmOptions , com.citi.gradle.plugins.helm.command.HelmServerOperationOptions , com.citi.gradle.plugins.helm.command.HelmServerOptions , com.citi.gradle.plugins.helm.command.HelmValueOptions , kotlin.Comparable , org.gradle.api.Task , org.gradle.api.internal.DynamicObjectAware , org.gradle.api.internal.TaskInternal , org.gradle.api.plugins.ExtensionAware , org.gradle.util.Configurable

    
    public class HelmUpgrade
    extends AbstractHelmInstallationCommandTask
                        

    Upgrades a release on the cluster. Corresponds to the helm upgrade CLI command.

    • Constructor Detail

      • HelmUpgrade

        HelmUpgrade()
    • Method Detail

      • getResetValues

        @Internal() final Property<Boolean> getResetValues()

        If true, reset the values to the ones built into the chart when upgrading.

        Corresponds to the --reset-values CLI parameter.

      • getHistoryMax

        @Internal() final Property<Integer> getHistoryMax()

        Limit the maximum number of revisions saved per release.

        Use 0 for no limit. If not set, the default value from Helm (currently 10) is used.

        Corresponds to the --history-max parameter of the helm upgrade CLI command.