Skip to main content

helm

The helm result subtype provides a link to the Helm registry where the Helm chart used for deployment is stored. CodeNOW uses Helm charts to deploy resources to Kubernetes environments.

Payload Fields

FieldRequiredDescription
typeYesMust be helm
versionYesv1
repositoryUrlYesURL of the Helm registry
artifactPathYesPath to the Helm chart in the registry
artifactVersionYesVersion of the Helm chart (e.g., 0.0.1)

Example

curl -L -X POST 'https://api.cloud.codenow.com/ci/webhook' \
--header 'Accept: application/vnd.codenow.v1+json' \
--header 'Content-Type: application/vnd.codenow.v1+json' \
--header 'X-Codenow-Api-Key: {YOUR_CI_KEY}' \
--data-raw '{
"type": "codenow.ci.result.event",
"version": "application/vnd.codenow.v1+json",
"pipelineId": "my-pipeline-id",
"createdAt": "2024-01-01T00:00:00.000Z",
"payload": [{
"type": "helm",
"version": "v1",
"repositoryUrl": "url-to-the-artifact-repository",
"artifactPath": "path-to-the-artifact",
"artifactVersion": "0.0.1"
}]
}'