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

Unable to customise the configmap with the operator deployment. #77

Open
mrulke opened this issue Jul 6, 2022 · 0 comments
Open

Unable to customise the configmap with the operator deployment. #77

mrulke opened this issue Jul 6, 2022 · 0 comments

Comments

@mrulke
Copy link

mrulke commented Jul 6, 2022

The operator is looking for global values for prometheusServers
https://github.com/turbonomic/prometurbo/blob/master/deploy/prometurbo/templates/configmap-prometurbo.yaml

  name: prometurbo-config-{{ .Release.Name }}
data:
  prometheus.config: |-
    # Prometheus servers and metrics to scrape
    servers:
{{- if .Values.prometheusServers }}
{{ tpl .Values.prometheusServers . | indent 6 }}
{{- end }}

but there is no value defined for it in the config
deploy/prometurbo-operator/config/crd/bases/charts.helm.k8s.io_prometurboes.yaml

The outcome of this is a default configmap with
https://github.com/turbonomic/prometurbo/blob/master/deploy/prometurbo/values.yaml

prometheusServers: |
  server1:
    # The URL of the prometheus server
    url: http://Prometheus_Server_URL
    # The list of supported exporters for the above prometheus server
    exporters:
      - cassandra
      - istio
      - jmx-tomcat
      - node
      - redis
      - webdriver
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

No branches or pull requests

1 participant