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

v2.0.0-rc.7 opencost validation is incorrect #978

Open
ceastman-r7 opened this issue Dec 7, 2024 · 0 comments
Open

v2.0.0-rc.7 opencost validation is incorrect #978

ceastman-r7 opened this issue Dec 7, 2024 · 0 comments
Assignees

Comments

@ceastman-r7
Copy link

ceastman-r7 commented Dec 7, 2024

With the following config:

clusterMetrics:
  enabled: true
  opencost:
    enabled: true
    metricsSource: promGateway
    opencost:
      exporter:
        defaultClusterId: redacted
      prometheus:
        external:
          url: https://prometheus-prod-13-prod-us-east-0.grafana.net/api/prom
        existingSecretName: promgateway-grafana-k8s-monitoring

I get this validation error:

Error: UPGRADE FAILED: execution error at (k8s-monitoring/templates/validations.yaml:9:6):

OpenCost requires the secret for promGateway to be set.
Please set:
clusterMetrics:
  opencost:
    opencost:
      prometheus:
        existingSecretName: otlpgateway-grafana-k8s-monitoring
@petewall petewall self-assigned this Dec 13, 2024
@petewall petewall added bug Something isn't working and removed bug Something isn't working labels Dec 13, 2024
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

2 participants