dapr / helm-charts

Helm Charts for Dapr
Apache License 2.0
20 stars 18 forks source link

Error: INSTALLATION FAILED: validation: chart.metadata.version "DAPR_VERSION_HELM" is invalid when install dapr with debug mode #16

Open jaredhshuai opened 2 years ago

jaredhshuai commented 2 years ago

Environment :

Kubernetes: v1.23.3 Weave Net: v2.8.1 Docker: v20.10.12 Dapr: v1.6.0 Helm: v3.8.0

Return error when install dapr with debug mode :

INSTALLATION FAILED: validation: chart.metadata.version "DAPR_VERSION_HELM" is invalid

Steps :

  1. Build dapr is ok.

    make release GOOS=linux GOARCH=amd64 DEBUG=1
  2. Push image is ok.

    export DAPR_TAG=dev
    export DAPR_REGISTRY=k8schina
    make docker-push DEBUG=1
  3. Values.yaml

global:
  registry: docker.io/k8schina
  tag: "dev-linux-amd64"
  logAsJson: true
dapr_operator:
  debug:
    enabled: true
dapr_sidecar_injector:
  hostNetwork: true
  debug:
    enabled: true
dapr_placement:
  debug:
    enabled: true
dapr_sentry:
  debug:
    enabled: true
  1. Helm install.
helm install dapr charts/dapr \
--namespace dapr-system \
--create-namespace \
--values values.yaml \
--wait
  1. Return error.
    INSTALLATION FAILED: validation: chart.metadata.version "DAPR_VERSION_HELM" is invalid
jaredhshuai commented 2 years ago

Has been transferred to dapr/dapr, it can be closed.