Package io.quarkiverse.helm.deployment
Interface HelmChartConfig
@ConfigMapping(prefix="quarkus.helm")
@ConfigRoot(phase=BUILD_TIME)
public interface HelmChartConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe if statements to include in the generated resources.Annotations are additional mappings uninterpreted by Helm, made available for inspection by other applications.The Chart API version.The version of the application enclosed of this chart.The condition to enable this chart.booleanWhether to generate the `README.md` file that includes the Chart description and table with the configurable parameters and their default values.booleanIf Helm tar file is generated.booleanWhether to generate the `values.schema.json` file that is used to validate the Helm Chart input values.The Helm chart list of dependencies.Whether this chart is deprecated.The Helm chart single-sentence description.booleanIf true, the naming validation will be disabled.booleanenabled()Enabled the generation of Helm files.Helm expressions to be replaced into the generated resources.Extension of the Helm tarball file.home()Project's home page of the Helm chart.icon()Icon of the Helm chart.The input folder in which to place the user-defined Helm files.keywords()List of keywords to add to the chart.KubeVersion is a SemVer constraint specifying the version of Kubernetes required.The Helm chart list of maintainers.booleanIf enabled, the extension will check whether there are properties using system properties in the form of `${XXX}` and if so, it will expose these properties as env-var values within the generated container resource.name()Name of the Helm chart.notes()Notes template to be generated.The output folder in which to place the Helm generated folder.The configuration to perform Helm charts uploads to Helm repositories..sources()The Helm chart list of URLs to source code for this project.tags()Tags of this chart.Classifier to be appended into the generated Helm tarball file.type()Specifies the chart type: application or library.values()The configuration references to be mapped into the Helm values file.Configuration for the separator string in the filename of profile specific values files i.e.Alias of the root element in the generated values file.Configuration for the `values.schema.json` file.version()Version of the Helm chart.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Enabled the generation of Helm files. -
name
Name of the Helm chart. If not set, it will use the application name. -
home
Project's home page of the Helm chart. It must be a URL. -
sources
The Helm chart list of URLs to source code for this project. -
version
Version of the Helm chart. If not set, it will use the application version. -
description
The Helm chart single-sentence description. -
keywords
List of keywords to add to the chart. -
maintainers
Map<String,MaintainerConfig> maintainers()The Helm chart list of maintainers. -
icon
Icon of the Helm chart. It must be a URL to an SVG or PNG image. -
apiVersion
The Chart API version. The default value is `v2`. -
condition
The condition to enable this chart. -
tags
Tags of this chart. -
appVersion
The version of the application enclosed of this chart. -
deprecated
Whether this chart is deprecated. -
annotations
Annotations are additional mappings uninterpreted by Helm, made available for inspection by other applications. -
kubeVersion
KubeVersion is a SemVer constraint specifying the version of Kubernetes required. -
dependencies
Map<String,HelmDependencyConfig> dependencies()The Helm chart list of dependencies. -
type
Specifies the chart type: application or library. -
valuesRootAlias
Alias of the root element in the generated values file. -
notes
Notes template to be generated. -
extension
Extension of the Helm tarball file. Default is `tar.gz`. -
tarFileClassifier
Classifier to be appended into the generated Helm tarball file. -
createTarFile
@WithDefault("false") boolean createTarFile()If Helm tar file is generated. -
createValuesSchemaFile
@WithDefault("true") boolean createValuesSchemaFile()Whether to generate the `values.schema.json` file that is used to validate the Helm Chart input values. -
createReadmeFile
@WithDefault("true") boolean createReadmeFile()Whether to generate the `README.md` file that includes the Chart description and table with the configurable parameters and their default values. -
values
Map<String,ValueReferenceConfig> values()The configuration references to be mapped into the Helm values file. -
expressions
Map<String,ExpressionConfig> expressions()Helm expressions to be replaced into the generated resources. -
addIfStatement
Map<String,AddIfStatementConfig> addIfStatement()The if statements to include in the generated resources. -
inputDirectory
The input folder in which to place the user-defined Helm files. These files will be used as inputs to populate the generated Helm files. At the moment, the supported Helm files are: README.md, LICENSE, values.schema.json, app-readme.md or app-README.md, questions.yml or questions.yaml, the "crds" directory, and requirements.yml or requirements.yaml. Moreover, you can provide a custom `values.yaml` or `Chart.yaml` and the content will be merged with the auto-generated configuration. It also supports absolute paths. By default, it will use the folder "src/main/helm". -
outputDirectory
The output folder in which to place the Helm generated folder. The folder is relative to the target output directory in Quarkus that is also configurable using the property `quarkus.package.output-directory`. It also supports absolute paths. By default, it will be generated in the folder named "helm". -
repository
HelmRepository repository()The configuration to perform Helm charts uploads to Helm repositories.. -
mapSystemProperties
@WithDefault("true") boolean mapSystemProperties()If enabled, the extension will check whether there are properties using system properties in the form of `${XXX}` and if so, it will expose these properties as env-var values within the generated container resource. -
disableNamingValidation
@WithDefault("false") boolean disableNamingValidation()If true, the naming validation will be disabled. The naming validation rejects property names that contain "-" characters. -
valuesProfileSeparator
Configuration for the separator string in the filename of profile specific values files i.e. values.profile.yaml, defaults to "." -
valuesSchema
ValuesSchemaConfig valuesSchema()Configuration for the `values.schema.json` file.
-