helm-charts
helm-charts copied to clipboard
Fix servicemonitor http endpoint
Fix issue with servicemonitor trying to read .Values within a loop
Reproduction before fix
❯ helm template --set extraServiceMonitor.enabled=true ./
Error: template: keycloakx/templates/servicemonitor.yaml:37:24: executing "keycloakx/templates/servicemonitor.yaml" at <.Values.http.internalScheme>: nil pointer evaluating interface {}.http
We stumbled over the same issue. Can the PR be merged and released soon? Thanks
We encountered this problem too. I also found this to be the cause and I'm happy to see an open PR
keycloak 103s False Helm install failed for release keycloak/keycloak with chart [email protected]: template: keycloakx/templates/servicemonitor.yaml:37:24: executing "keycloakx/templates/servicemonitor.yaml" at <.Values.http.internalScheme>: nil pointer evaluating interface {}.http
Workaround while waiting for this PR to be merged
In your helm chart,
serviceMonitor:
Values:
http:
internalScheme: http