Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm Installation Fails #1809

Open
sherwoodzern opened this issue Dec 4, 2024 · 1 comment
Open

Helm Installation Fails #1809

sherwoodzern opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sherwoodzern
Copy link

Bug Report

Which version of the demo you are using? (please provide either a specific
commit
hash

or a specific
release).
Demo version:1.12.0 Helm chart version: 0.33.6

Symptom

A clear and concise description of what the bug is.

What is the expected behavior?
opentel demo to be installed.

What do you expect to see?

What is the actual behavior?
Error: INSTALLATION FAILED: template: opentelemetry-demo/templates/component.yaml:12:12: executing "opentelemetry-demo/templates/component.yaml" at <include "otel-demo.deployment" $config>: error calling include: template: opentelemetry-demo/templates/_objects.tpl:106:16: executing "otel-demo.deployment" at <include "otel-demo.pod.env" .>: error calling include: template: opentelemetry-demo/templates/_pod.tpl:43:4: executing "otel-demo.pod.env" at <tpl (toYaml $allEnvs) .>: error calling tpl: cannot retrieve Template.Basepath from values inside tpl function: - name: OTEL_SERVICE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.labels['app.kubernetes.io/component']

  • name: OTEL_COLLECTOR_NAME
    value: '{{ include "otel-demo.name" . }}-otelcol'
  • name: OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
    value: cumulative
  • name: FLAGD_METRICS_EXPORTER
    value: otel
  • name: OTEL_EXPORTER_OTLP_ENDPOINT
    value: http://$(OTEL_COLLECTOR_NAME):4317
  • name: OTEL_RESOURCE_ATTRIBUTES
    value: service.name=$(OTEL_SERVICE_NAME),service.namespace=opentelemetry-demo,service.version={{
    .Chart.AppVersion }}: "BasePath" is not a value
    Please describe the actual behavior experienced.

Reproduce

Could you provide the minimum required steps to resolve the issue you're seeing?

helm install my-otel-demo open-telemetry/opentelemetry-demo

We will close this issue if:

  • The steps you provided are complex.
  • If we can not reproduce the behavior you're reporting.

Additional Context

Please feel free to add any other context about the problem here.

@sherwoodzern sherwoodzern added the bug Something isn't working label Dec 4, 2024
@julianocosta89
Copy link
Member

@sherwoodzern what version of Helm do you have installed in your machine?
Since release 1.12 we require Helm version 3.14+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants