-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Closed
Copy link
Labels
solvedstale15 days without activity15 days without activitysupersettech-issuesThe user has a technical issue about an applicationThe user has a technical issue about an applicationtriageTriage is neededTriage is needed
Description
Name and Version
bitnami/superset 2.0.0
What architecture are you using?
None
What steps will reproduce the bug?
- I'm trying to deploy
supersetchart into a k3s cluster - The config I used was
helmfile.yaml
repositories:
- name: bitnami
url: https://charts.bitnami.com/bitnami
releases:
- name: superset
namespace: superset
chart: bitnami/superset
version: 2.0.0
values:
- superset/values.yaml- Deploy above chart with
helmfile apply- The following error has been thrown
Error: template: superset/templates/ingress.yaml:45:96: executing "superset/templates/ingress.yaml" at <include "common.names.fullname" .>: error calling include: template: superset/charts/common/templates/_names.tpl:27:14: executing "common.names.fullname" at <.Values.fullnameOverride>: nil pointer evaluating interface {}.fullnameOverrideAre you using any custom parameters or values?
ingress:
enabled: true
pathType: Prefix
hostname: 192.168.1.15.sslip.io
ingressClassName: traefik
annotations:
traefik.ingress.kubernetes.io/router.middlewares: default-traefik-config-auth@kubernetescrd
extraHosts:
- name: 192.168.1.16.sslip.io
path: /
# ... postgresql, and redis configWhat is the expected behavior?
the app is deployed successfully
What do you see instead?
Error: template: superset/templates/ingress.yaml:45:96: executing "superset/templates/ingress.yaml" at <include "common.names.fullname" .>: error calling include: template: superset/charts/common/templates/_names.tpl:27:14: executing "common.names.fullname" at <.Values.fullnameOverride>: nil pointer evaluating interface {}.fullnameOverride
Additional information
The chart is deployed successfully without ingress.extraHosts
The possible cause:
The different value of . between backend used for .Values.ingress.hostname (was the context)
| backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-web" (include "common.names.fullname" .)) "servicePort" "http" "context" $) | nindent 14 }} |
and backend used for .Values.ingress.extraHosts (was the host object iterator)
| backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-web" (include "common.names.fullname" .)) "servicePort" "http" "context" $) | nindent 14 }} |
Metadata
Metadata
Assignees
Labels
solvedstale15 days without activity15 days without activitysupersettech-issuesThe user has a technical issue about an applicationThe user has a technical issue about an applicationtriageTriage is neededTriage is needed