Tags
name
Analphanumericstring (underscores are permitted) that identifies the step.
类型
Must beHelmDeploy
for this step type.
configuration
Specifies all configuration selections for the step's execution environment.This step inherits theBash/PowerShellstep configuration tags, including these pertinenttags:
Tag |
Description of usage |
Required/Optional |
---|---|---|
integrations |
必须指定aKubernetes Integration. | Required |
inputResources |
必须指定eitheraHelmChart资源urce or aGitRepo资源urce that contains a Helm chart. |
Required |
In addition, these tags can be defined to support the step's native operation:
Tag |
Description of usage |
Required/Optional |
---|---|---|
flags |
A flag string to be included in the helm command. For example: "--set key=’value’ -f myTestValues.yaml" | Optional |
valueFilePaths |
Specifies values YAML file(s) for use with a--values (-f) option of thehelm installcommand. All environment variable references in the specified file(s) will be automatically replaced with values of matching runtime environment variables. |
Optional |
releaseName |
The release name. Equivalent to the --name (-n) option of thehelm installcommand. |
Required |
chartPath |
The path to the HelmChart in the GitRepo resource specified ininputResources . Do not use when a HelmChart resource is specified. |
May be required |
dryRun |
Whentrue, only deploys if the --dry-run install simulation is successful. Defaults to false. |
Optional |
lint |
When set totrueperforms alintto examine a chart for possible issues. Defaults to false. |
Optional |
lintFlags |
Flag string to pass to thehelm lint command. |
Optional |
test |
When set totrueperforms atestto run the tests for release. Defaults to false. |
Optional |
testFlags |
Flag string to pass to thehelm test command. |
Optional |
execution
Declares collections of shell command sequences to perform for pre- and post-execution phases:
Tag |
Description of usage |
Required/Optional |
---|---|---|
onStart |
Commands to execute in advance of the native operation | Optional |
onSuccess |
Commands to execute on successful completion | Optional |
onFailure |
Commands to execute on failed completion | Optional |
onComplete |
Commands to execute on any completion | Optional |
The actions performed for theonExecute
phase are inherent to this step type and may not be overridden.