Dagweave catalog

Helm upgrade --install

helm-upgradev1.0.4updated 2026-10-195 versions

Install or upgrade a Helm release with `helm upgrade --install`, using the workflow pod's in-cluster serviceAccount. Supports an optional chart repo URL and inline values.yaml.

Install v1.0.4

Installs the template into your Argo namespace. The URL is pinned to this version.

kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml

Or with the Argo CLI:

argo template create -n argo https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml

Facts

Category
Kubernetes
Tags
helm kubernetes
Entrypoint
upgrade
Template SHA-256
7238746e02e499701b9f66989928e4e3283d7f932ccfaf508f211468629e7a56
Source
helm-upgrade at catalog commit 67458f7
API
item document, latest template.yaml

Images and provenance

Every image is pinned by digest, so a rebuilt tag can never change what this version runs.

RepositoryTagDigest
alpine/helm3.22.1sha256:8191701ad1f82ee3695c87211fcbfe6d7b1bb7df92ac1c8de9ccdb0995a6a2c1

Parameters

NameDescriptionDefault
chart required Chart reference: a chart name (with a repo URL), an oci:// ref, or a local path. none
release required none
namespace default
repo-url Passed as --repo when set. empty
values-inline Inline values.yaml content applied with -f. empty

WorkflowTemplate

Download template.yaml

apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: helm-upgrade
  labels:
    dagweave.io/catalog-item: helm-upgrade
  annotations:
    dagweave.io/catalog-version: "1.0.4"
    dagweave.io/catalog-category: "Kubernetes"
spec:
  entrypoint: upgrade
  templates:
    - name: upgrade
      metadata:
        annotations:
          # Dagweave Local reads these off the body, the only part of an item that lands in a user's file.
          dagweave.io/local-support: unsupported
          dagweave.io/local-support-reason: >-
            helm keeps its release history in Secrets in the target namespace. On
            Dagweave Local the pod runs as the default service account of the hidden
            cluster's argo namespace, which has no permission on secrets, on namespaces,
            or on anything a chart usually creates, so helm is refused as soon as it
            looks that history up and the step fails on a 403. Nothing is installed,
            here or on the cluster you meant.
      inputs:
        parameters:
          - name: release
          # Chart reference: a chart name (with repo-url) or an oci:// / local path.
          - name: chart
          - name: namespace
            default: default
          # Inline values.yaml content applied with -f.
          - name: values-inline
            default: ""
          # Chart repository URL, passed as --repo when set.
          - name: repo-url
            default: ""
      container:
        # alpine/helm:3.22.1
        image: alpine/helm@sha256:8191701ad1f82ee3695c87211fcbfe6d7b1bb7df92ac1c8de9ccdb0995a6a2c1
        command: [sh, -c]
        # helm upgrade --install (idempotent) against the in-cluster
        # serviceAccount. Optional --repo and inline values file.
        args:
          - |
            set -eu
            set --
            if [ -n "${REPO_URL}" ]; then set -- "$@" --repo "${REPO_URL}"; fi
            if [ -n "${VALUES}" ]; then
              printf '%s' "${VALUES}" > /tmp/values.yaml
              set -- "$@" -f /tmp/values.yaml
            fi
            helm upgrade --install "${RELEASE}" "${CHART}" \
              --namespace "${NAMESPACE}" --create-namespace "$@"
        env:
          - name: RELEASE
            value: "{{inputs.parameters.release}}"
          - name: CHART
            value: "{{inputs.parameters.chart}}"
          - name: NAMESPACE
            value: "{{inputs.parameters.namespace}}"
          - name: VALUES
            value: "{{inputs.parameters.values-inline}}"
          - name: REPO_URL
            value: "{{inputs.parameters.repo-url}}"

Version history

Read from the item's changelog. Each version has its own JSON document; the pinned catalogue vendors the manifest of the latest one, so that is the version that installs.

  1. 1.0.4 latest 2026-10-19

    Move alpine/helm 3.22.0 to 3.22.1, the current head of that tag. What is still open against it is recorded in hack/image-cve-exceptions.txt. Same tool, same arguments; nothing about what the step runs changes.

    kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml
    argo template create -n argo https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml

    version document, template.yaml

  2. 1.0.3 2026-09-10

    Declare localSupport unsupported with its reason, and write the same pair onto the entrypoint template as dagweave.io/local-support annotations. Dagweave Local's lint rules on the compiled pod spec and so cannot see a command that shells out to helm, which leaves the item to say it itself. Template metadata only; nothing about what this runs on a real cluster changes.

    This release is documented, but its manifest is not vendored here, so it has no install command. Version document

  3. 1.0.2 2026-08-18

    Move alpine/helm from 3.21.3 to 3.21.4. Clears x/text CVE-2026-56852 and leaves the eight Go 1.26.6 stdlib advisories exactly where they were, because 3.21.4 is a rebuild on the same 1.26.5 toolchain; vendored HIGH goes 10 to 9 and is recorded in hack/image-cve-exceptions.txt. Taken as much for the tag as for the one advisory: the old record claimed 3.21.3 was the newest 3.x and that had stopped being true. Helm 4 is still a major with its own migration.

    This release is documented, but its manifest is not vendored here, so it has no install command. Version document

  4. 1.0.1 2026-08-02

    Move alpine/helm from 3.16.3 to 3.21.3, the newest 3.x. Fixable CRITICAL/HIGH drops from 76 to 1. Helm 4 exists but is a major with its own migration, so this stays on 3.x.

    This release is documented, but its manifest is not vendored here, so it has no install command. Version document

  5. 1.0.0 2026-07-17

    Initial release.

    This release is documented, but its manifest is not vendored here, so it has no install command. Version document

Run it once

After installing, from the command line.

argo submit -n argo --from workflowtemplate/helm-upgrade \
  -p chart=... \
  -p release=...

Workflow that references it

A Workflow with the required parameters filled from the examples.

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: helm-upgrade-
spec:
  workflowTemplateRef:
    name: helm-upgrade
  arguments:
    parameters:
      - name: chart
        value: "..."
      - name: release
        value: "..."

As a step of a larger workflow

steps:
  - - name: helm-upgrade
      templateRef:
        name: helm-upgrade
        template: upgrade