CanineHQ/canine · error

`helm repo update` failed with exit status #{exit_status}

Error message

`helm repo update` failed with exit status #{exit_status}

What it means

Error "`helm repo update` failed with exit status #{exit_status}" thrown in CanineHQ/canine.

Source

Thrown at app/services/k8/helm/client.rb:57

    K8::Kubeconfig.with_kube_config(connection.kubeconfig, skip_tls_verify: connection.cluster.skip_tls_verify) do |kubeconfig_file|
      command = %w[helm get values] + [ name, "--all", "--namespace", namespace, "--kubeconfig=#{kubeconfig_file.path}" ]
      output = runner.(command, envs: { "KUBECONFIG" => kubeconfig_file.path })
      output
    end
  end

  def ls
    return StandardError.new("Can't list helm charts if not connected") unless connected?
    K8::Kubeconfig.with_kube_config(connection.kubeconfig, skip_tls_verify: connection.cluster.skip_tls_verify) do |kubeconfig_file|
      command = %w[helm ls --all-namespaces -o yaml] + [ "--kubeconfig=#{kubeconfig_file.path}" ]
      command_output = runner.(command, envs: { "KUBECONFIG" => kubeconfig_file.path })
      output = YAML.safe_load(command_output)
    end
  end

  def repo_update_all
    exit_status = runner.(%w[helm repo update])
    raise "`helm repo update` failed with exit status #{exit_status}" unless exit_status.success?
    exit_status
  end

  def repo_update(repo_name:)
    exit_status = runner.(%w[helm repo update] + [ repo_name ])
    raise "`helm repo update #{repo_name}` failed with exit status #{exit_status}" unless exit_status.success?
    exit_status
  end

  def run_command(command)
    runner.(command)
  end

  def self.add_repo(repository_name, repository_url, runner)
    command = %w[helm repo add] + [ repository_name, repository_url, "--force-update" ]
    runner.(command)
  end

View on GitHub (pinned to ba4ee3968d)

When it happens

Trigger: Thrown at app/services/k8/helm/client.rb:57 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23). Data as JSON: /api/errors/15cdab344fa51708. Report an issue: GitHub.