Package 

Interface Filtering


  • 
    public interface Filtering
    
                        

    Configures filtering of chart sources.

    • Method Detail

      • getFileValues

        @Internal() abstract MapProperty<String, Object> getFileValues()

        Values to be inserted for placeholders, read from the contents of files.

        The values of the map can be of any type that is accepted by Project.file. Values of type org.gradle.api.file.FileCollection are also allowed, provided that they contain only a single file.

        Additionally, when adding a Provider that represents an output file of another task, the corresponding filtering task will automatically have a task dependency on the producing task.

        If the same key is present both in values and fileValues, then the entry from values has precedence.

      • getFilePatterns

        @Input() abstract ListProperty<String> getFilePatterns()

        Patterns of file names to be filtered.

        If this is an empty list, all files in the chart will be subject to filtering.

        By default, this includes Chart.yaml, values.yaml and requirements.yaml but not any of the chart's template files. For the latter, it is recommended to put the filtered values into values.yaml and apply Helm's templating mechanisms in the template files.