The following examples show how to configure a HelmPublish step. For more information about HelmPublish Pipeline steps, see HelmPublish.
HelmPublish - Examples
A HelmPublish step using Helm 3 to publish to Artifactory.
HelmPublish
pipelines: - name: helmPublishPipeline steps: - name: helmPublishStep type: HelmPublish configuration: helmVersion: 3 chartPath: "./myChart" inputResources: - name: gitRepoResource outputResources: - name: helmChartResource
Using lint and values.yaml
A HelmPublish step with lint, using a values.yaml file, added before publishing the Helm chart.
HelmPublish
pipelines: - name: helmPublishPipeline steps: - name: helmPublishStep type: HelmPublish configuration: helmVersion: 3 chartPath: "./myChart" lint: true lintFlags: "--strict" valueFilePaths: - values.yaml inputResources: - name: gitRepoResource outputResources: - name: helmChartResource
Publish Build Info
A HelmPublish step that publishes build info.
HelmPublish
pipelines: - name: helmPublishPipeline steps: - name: helmPublishStep type: HelmPublish configuration: helmVersion: 3 chartPath: "./myChart" autoPublishBuildInfo: true inputResources: - name: gitRepoResource outputResources: - name: helmChartResource - name: buildInfoResource
Publish to Artifactory using Helm 2
A HelmPublish step using Helm 2 to publish to Artifactory.
HelmPublish
pipelines: - name: helmPublishPipeline steps: - name: helmPublishStep type: HelmPublish configuration: helmVersion: 2 chartPath: "./myChart" inputResources: - name: gitRepoResource outputResources: - name: helmChartResource