HelmDeploy - YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide

The YAML schema for HelmDeploy native step is as shown below. For more information on HelmDeploy Pipeline steps, see HelmDeploy.

HelmDeploy

pipelines:
  - name:   <string>
    steps:
      - name: <string>
        type: HelmDeploy
        configuration:
          #inherits all the tags from bash
          helmVersion:         <2 | 3>          # optional, defaults to 2
          namespace:               <string>     # optional, namespace to which to deploy
          flags:               <string>         # optional
          valueFilePaths:                       # optional
            - <path and filename>
          releaseName:         <string> 
          chartPath:           <path string>    # optional, may be required for certain input resources
                  chartName:           <path string>    # optional, may be required for certain input resources
                  chartVersion:        <path string>    # optional, may be required for certain input resources
          dryRun:              <true | false>   # optional, only deploys if the dryrun is success
          lint:                <true | false>   # lints chart before upgrade, default false
          lintFlags: “--strict”
          test:                <true | false>   # runs helm test after upgrade, default false
          testFlags: “--parallel”

          integrations:
            - name:         <kubernetes integration>                         # required            
          inputResources:
            - name:         <HelmChart, GitRepo, FileSpec, BuildInfo or ReleaseBundle resource>    # required, one input resource from this list is required
                                                                                                                                                                                           # HelmChart and GitRepo input resources are allowed together       
        execution:
          onStart:
            - echo "Preparing for work..."
          onSuccess:
            - echo "Job well done!"
          onFailure:
            - echo "uh oh, something went wrong"
          onComplete: #always
            - echo "Cleaning up some stuff"