GreptimeTeam / GreptimeTeam/gtctl

Cannot pass `prometheusMonitor` config via `--set` to GreptimeDB Cluster CRD

Open
#178 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
37
Forks
13
PR merge metrics
No merged PRs in 30d

Description

creating a bare-metal cluster using:

```bash
./bin/gtctl cluster create mycluster -n default \
--set cluster.prometheusMonitor.enabled=true \
--set cluster.prometheusMonitor.path=/metrics \
--set cluster.prometheusMonitor.port=http \
--set cluster.prometheusMonitor.interval=20s \
--set cluster.prometheusMonitor.honorLabels=true \
--set cluster.prometheusMonitor.labelsSelector.release=prometheus \
--set cluster.postgresServicePort=4444
```

the result GreptimeDB Cluster CRD suggests the `prometheusMonitor` field is not be set, even though there's `prometheusMonitor` field sets in generated manifest:

![image](https://github.com/GreptimeTeam/gtctl/assets/40317966/16068d02-c016-45bd-8e19-739b1fc68783)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.