Skip to content
New issue

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

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

Already on GitHub? # to your account

Helm template error #3496

Open
telderfts opened this issue Dec 16, 2024 · 0 comments
Open

Helm template error #3496

telderfts opened this issue Dec 16, 2024 · 0 comments

Comments

@telderfts
Copy link

telderfts commented Dec 16, 2024

I am currently trying to install grafana in HA via Helm using the following values file, DB info has been redacted for security.

helm install grafana grafana/grafana -f grafanavalues.yaml --namespace grafana

replicas: 2 # Adjust the number of replicas as needed

database:
type: mysql
host: :3306
name: grafana
user: grafana
password:

persistence:
type: pvc
enabled: true
storageClassName: gp3
accessModes:
- ReadWriteOnce
size: 100Gi

env:
GF_UNIFIED_ALERTING_HA_PEERS: "grafana-alerting.grafana:9094"
GF_UNIFIED_ALERTING_HA_LISTEN_ADDRESS: "${POD_IP}:9094"
GF_UNIFIED_ALERTING_HA_ADVERTISE_ADDRESS: "${POD_IP}:9094"

extraContainers:

  • name: grafana-alert
    ports:
    • containerPort: 9094
      name: grafana-alert
      protocol: TCP

service:
type: ClusterIP

additionalServices:

  • name: grafana-alerting
    type: ClusterIP
    clusterIP: None
    ports:
    • port: 9094
      targetPort: 9094

However when I go to run the helm chart I get the following error..

"Error: INSTALLATION FAILED: template: grafana/templates/deployment.yaml:52:10: executing "grafana/templates/deployment.yaml" at <include "grafana.pod" .>: error calling include: template: grafana/templates/_pod.tpl:1207:10: executing "grafana.pod" at <.>: wrong type for value; expected string; got []interface {}"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant