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

CI: helm-ci job is broken #14799

Closed
trevorwhitney opened this issue Nov 6, 2024 · 2 comments · Fixed by #14804
Closed

CI: helm-ci job is broken #14799

trevorwhitney opened this issue Nov 6, 2024 · 2 comments · Fixed by #14804

Comments

@trevorwhitney
Copy link
Collaborator

Installing the prometheus-operator during the helm tests is failing

Run kubectl create namespace prometheus
  kubectl create namespace prometheus
  
  helm install prometheus prometheus-community/kube-prometheus-stack \
    --namespace prometheus \
    --set grafana.enabled=false \
    --set prometheus.prometheusSpec.serviceMonitorSelector.matchLabels.release=prometheus
  
  kubectl --namespace prometheus get pods -l "release=prometheus"
  kubectl --namespace prometheus get services -l "release=prometheus"
  shell: /usr/bin/bash -e {0}
  env:
    CT_CONFIGFILE: production/helm/ct.yaml
    pythonLocation: /opt/hostedtoolcache/Python/3.7.17/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.7.17/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64
    Python[2](https://github.com/grafana/loki/actions/runs/11700514101/job/32584671496#step:9:2)_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/grafana/loki/actions/runs/11700514101/job/32584671496#step:9:3).7.17/x6[4](https://github.com/grafana/loki/actions/runs/11700514101/job/32584671496#step:9:4)
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.17/x[6](https://github.com/grafana/loki/actions/runs/11700514101/job/32584671496#step:9:6)4/lib
    CT_CONFIG_DIR: /opt/hostedtoolcache/ct/3.10.1/amd64/etc
    VIRTUAL_ENV: /opt/hostedtoolcache/ct/3.10.1/amd64/venv
namespace/prometheus created
Error: INSTALLATION FAILED: template: kube-prometheus-stack/templates/prometheus/prometheus.yaml:262:[11](https://github.com/grafana/loki/actions/runs/11700514101/job/32584671496#step:9:11): executing "kube-prometheus-stack/templates/prometheus/prometheus.yaml" at <ne .Values.prometheus.prometheusSpec.scrapeConfigNamespaceSelector nil>: error calling ne: uncomparable type map[string]interface {}: map[]

This is blocking all helm PRs and releases.

@morganrowse
Copy link

morganrowse commented Nov 7, 2024

I woke up early to try tackle this but you beat me to it. Much appreciated @trevorwhitney, thank you for the contribution to OSS!

@trevorwhitney
Copy link
Collaborator Author

We should have created an issue sooner, thanks for the offer @morganrowse! It was becoming a big of a problem I decided to prioritize it at the end of my day yesterday, but I'll keep you in mind for next time 😄

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

Successfully merging a pull request may close this issue.

2 participants