Class HelmValueOptionsHolder
-
- All Implemented Interfaces:
-
io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmValueOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmValueOptions
public final class HelmValueOptionsHolder implements ConfigurableHelmValueOptions
-
-
Field Summary
Fields Modifier and Type Field Description private final MapProperty<String, Object>valuesprivate final MapProperty<String, Object>fileValuesprivate final ConfigurableFileCollectionvalueFiles
-
Constructor Summary
Constructors Constructor Description HelmValueOptionsHolder(ObjectFactory objects)HelmValueOptionsHolder(MapProperty<String, Object> values, MapProperty<String, Object> fileValues, ConfigurableFileCollection valueFiles)
-
Method Summary
Modifier and Type Method Description MapProperty<String, Object>getValues()Values to be passed directly. MapProperty<String, Object>getFileValues()Values read from the contents of files. ConfigurableFileCollectiongetValueFiles()A collection of YAML files containing values. -
-
Method Detail
-
getValues
MapProperty<String, Object> getValues()
Values to be passed directly.
Entries in the map will be sent to the CLI using either the
--set-stringoption (for strings) or the--setoption (for all other types).
-
getFileValues
MapProperty<String, Object> getFileValues()
Values read from the contents of files.
Corresponds to the
--set-fileCLI 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
ConfigurableFileCollection getValueFiles()
A collection of YAML files containing values.
Corresponds to the
--valuesCLI option.Not to be confused with fileValues, which contains entries whose values are the contents of files.
-
-
-
-