{
  "name": "helm-upgrade",
  "title": "Helm upgrade --install",
  "category": "Kubernetes",
  "tags": [
    "helm",
    "kubernetes"
  ],
  "version": "1.0.4",
  "date": "2026-10-19",
  "notes": "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.",
  "latest": true,
  "installable": true,
  "url": "https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml",
  "entrypoint": "upgrade",
  "parameters": [
    {
      "name": "chart",
      "title": "Chart",
      "description": "Chart reference: a chart name (with a repo URL), an oci:// ref, or a local path.",
      "type": "string",
      "required": true
    },
    {
      "name": "release",
      "title": "Release name",
      "type": "string",
      "required": true
    },
    {
      "name": "namespace",
      "title": "Namespace",
      "type": "string",
      "required": false,
      "default": "default"
    },
    {
      "name": "repo-url",
      "title": "Chart repository URL",
      "description": "Passed as --repo when set.",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "values-inline",
      "title": "Values (inline YAML)",
      "description": "Inline values.yaml content applied with -f.",
      "type": "string",
      "required": false,
      "default": ""
    }
  ],
  "images": [
    {
      "ref": "alpine/helm@sha256:8191701ad1f82ee3695c87211fcbfe6d7b1bb7df92ac1c8de9ccdb0995a6a2c1",
      "repository": "alpine/helm",
      "tag": "3.22.1",
      "digest": "sha256:8191701ad1f82ee3695c87211fcbfe6d7b1bb7df92ac1c8de9ccdb0995a6a2c1"
    }
  ],
  "install": {
    "kubectl": "kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml",
    "argo": "argo template create -n argo https://catalog.dagweave.com/api/v1/items/helm-upgrade/1.0.4/template.yaml"
  },
  "template": "apiVersion: argoproj.io/v1alpha1\nkind: WorkflowTemplate\nmetadata:\n  name: helm-upgrade\n  labels:\n    dagweave.io/catalog-item: helm-upgrade\n  annotations:\n    dagweave.io/catalog-version: \"1.0.4\"\n    dagweave.io/catalog-category: \"Kubernetes\"\nspec:\n  entrypoint: upgrade\n  templates:\n    - name: upgrade\n      metadata:\n        annotations:\n          # Dagweave Local reads these off the body, the only part of an item that lands in a user's file.\n          dagweave.io/local-support: unsupported\n          dagweave.io/local-support-reason: \u003e-\n            helm keeps its release history in Secrets in the target namespace. On\n            Dagweave Local the pod runs as the default service account of the hidden\n            cluster's argo namespace, which has no permission on secrets, on namespaces,\n            or on anything a chart usually creates, so helm is refused as soon as it\n            looks that history up and the step fails on a 403. Nothing is installed,\n            here or on the cluster you meant.\n      inputs:\n        parameters:\n          - name: release\n          # Chart reference: a chart name (with repo-url) or an oci:// / local path.\n          - name: chart\n          - name: namespace\n            default: default\n          # Inline values.yaml content applied with -f.\n          - name: values-inline\n            default: \"\"\n          # Chart repository URL, passed as --repo when set.\n          - name: repo-url\n            default: \"\"\n      container:\n        # alpine/helm:3.22.1\n        image: alpine/helm@sha256:8191701ad1f82ee3695c87211fcbfe6d7b1bb7df92ac1c8de9ccdb0995a6a2c1\n        command: [sh, -c]\n        # helm upgrade --install (idempotent) against the in-cluster\n        # serviceAccount. Optional --repo and inline values file.\n        args:\n          - |\n            set -eu\n            set --\n            if [ -n \"${REPO_URL}\" ]; then set -- \"$@\" --repo \"${REPO_URL}\"; fi\n            if [ -n \"${VALUES}\" ]; then\n              printf '%s' \"${VALUES}\" \u003e /tmp/values.yaml\n              set -- \"$@\" -f /tmp/values.yaml\n            fi\n            helm upgrade --install \"${RELEASE}\" \"${CHART}\" \\\n              --namespace \"${NAMESPACE}\" --create-namespace \"$@\"\n        env:\n          - name: RELEASE\n            value: \"{{inputs.parameters.release}}\"\n          - name: CHART\n            value: \"{{inputs.parameters.chart}}\"\n          - name: NAMESPACE\n            value: \"{{inputs.parameters.namespace}}\"\n          - name: VALUES\n            value: \"{{inputs.parameters.values-inline}}\"\n          - name: REPO_URL\n            value: \"{{inputs.parameters.repo-url}}\"\n",
  "templateSha256": "7238746e02e499701b9f66989928e4e3283d7f932ccfaf508f211468629e7a56",
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/helm-upgrade",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
