Package 

Interface Linting

  • All Implemented Interfaces:
    org.unbrokendome.gradle.plugins.helm.command.ConfigurableHelmOptions , org.unbrokendome.gradle.plugins.helm.command.ConfigurableHelmValueOptions , org.unbrokendome.gradle.plugins.helm.command.HelmOptions , org.unbrokendome.gradle.plugins.helm.command.HelmValueOptions

    
    public interface Linting
     implements ConfigurableHelmValueOptions
                        

    Defines options for linting Helm charts using the helm lint command.

    • Method Detail

      • getStrict

         abstract Property<Boolean> getStrict()

        If true, treat warnings from the linter as errors.

        Corresponds to the --strict CLI option.

      • getConfigurations

         abstract NamedDomainObjectContainer<Linting.Configuration> getConfigurations()

        A collection of linter configurations.

        Each configuration allows specifying a different set of values to pass to helm lint. Values defined in the Linting block directly are merged into all configurations.

        If no configurations are added to this container, the plugin will assume a single configuration named "default" with no additional values.

      • getValues

         abstract MapProperty<String, Object> getValues()

        Values to be passed directly.

        Entries in the map will be sent to the CLI using either the --set-string option (for strings) or the --set option (for all other types).

      • getFileValues

         abstract MapProperty<String, Object> getFileValues()

        Values read from the contents of files.

        Corresponds to the --set-file CLI option.

        The values of the map can be of any type that is accepted by Project.file. Additionally, when adding a Provider that represents an output file of another task, the consuming task will automatically have a task dependency on the producing task.

        Not to be confused with valueFiles, which contains a collection of YAML files that supply multiple values.

      • getValueFiles

         abstract ConfigurableFileCollection getValueFiles()

        A collection of YAML files containing values.

        Corresponds to the --values CLI option.

        Not to be confused with fileValues, which contains entries whose values are the contents of files.