https://rancher.com/ logo
Title
c

cuddly-egg-57762

09/16/2022, 10:01 AM
Hi people! I need a hand to understand why calico installation job fails when I install it via helm-controller. I'm trying to deploy this helmchart resource:
apiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChart
metadata:
  name: cilium
  namespace: kube-system
spec:
  bootstrap: True
  chart: cilium/cilium
  version: 1.12.1
  targetNamespace: kube-system
  valuesContent: |-
    operator:
      replicas: 2
      image:
        useDigest: false
    tunnel: disabled
    autoDirectNodeRoutes: true
    kubeProxyReplacement: strict
    loadBalancer:
      standalone: false
      mode: dsr
    k8sServiceHost: 10.130.42.39
    k8sServicePort: 6443
    nativeRoutingCIDR: 10.0.0.0/16
    image: 
      useDigest: false
      pullPolicy: IfNotPresent
but the job pod fails with this error:
+ echo 'Installing helm_v3 chart'
+ helm_v3 install --namespace kube-system --version 1.12.1 cilium cilium/cilium --values /config/values-01_HelmChart.yaml
Error: INSTALLATION FAILED: failed to download "cilium/cilium" at version "1.12.1"
if I try do install the chart manually (
helm install cilium cilium/cilium ...
), it works
c

creamy-pencil-82913

09/16/2022, 4:08 PM
If looks like you didn't specify what repo to install the chart from?