You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Helm fails to render templates for 'pixie-operator/pixie-operator-chart' chart.
Error: template: pixie-operator-chart/templates/00_olm.yaml:1:113: executing "pixie-operator-chart/templates/00_olm.yaml" at <len (lookup "operators.coreos.com/v1""OperatorGroup""""").items>: error calling len: len of nil pointer
Use --debug flag to render out invalid YAML
Additional context
After commit 8dec8ee is pushed and released, the helm functionlookup is invoked in order to check if k8s cluster has "operators.coreos.com/v1" "OperatorGroup" resources. When running helm template the lookup is not supported.
Keep in mind that Helm is not supposed to contact the Kubernetes API Server during a helm template or a helm install|update|delete|rollback --dry-run, so the lookup function will return an empty list (i.e. dict) in such a case.
When trying to install pixie-operator-chart with ArgoCD it fails because ArgoCD executes helm template before installing the chart.
Describe the bug
Helm fails to render templates for 'pixie-operator/pixie-operator-chart' chart.
To Reproduce
Steps to reproduce the behavior:
helm repo add pixie-operator https://pixie-operator-charts.storage.googleapis.com
helm template pixie-operator pixie-operator/pixie-operator-chart
Expected behavior
Templates (Namespace, ClusterRole, ClusterRoleBinding, Deployment etc) should be rendered
App information (please complete the following information):
version.BuildInfo{Version:"v3.8.2", GitCommit:"6e3701edea09e5d55a8ca2aae03a68917630e91b", GitTreeState:"clean", GoVersion:"go1.17.5"}
pixie-operator-chart
0.0.24
1.21
2.3.3
Additional context
After commit 8dec8ee is pushed and released, the helm function
lookup
is invoked in order to check if k8s cluster has "operators.coreos.com/v1" "OperatorGroup" resources. When runninghelm template
thelookup
is not supported.When trying to install
pixie-operator-chart
with ArgoCD it fails because ArgoCD executeshelm template
before installing the chart.The ArgoCD issue that could be related to this argoproj/argo-cd#5202
Anyway, the helm fails to template the chart
pixie-operator-chart
locally.The text was updated successfully, but these errors were encountered: