Skip to content

Set monitor.prometheus.exporter.port on kubedb editor charts - #1105

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-exp-port
Jul 31, 2026
Merged

Set monitor.prometheus.exporter.port on kubedb editor charts#1105
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-exp-port

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Summary

  • Hardcode spec.monitor.prometheus.exporter.port in db.yaml for 22 kubedb editor charts, matching the default port each operator sets via SetDefaults() in kubedb.dev/apimachinery.
  • neo4j and qdrant previously exposed port as a user-overridable values.yaml field; switched to the same hardcoded pattern as the rest for consistency, and removed the now-unused port: 0 from their values.yaml.

Excluded:

  • db2, documentdb: no Monitor field in their kubedb CRD spec.
  • hanadb, hazelcast, ignite, milvus, oracle, weaviate: db.yaml doesn't render a monitor: block at all currently (pre-existing gap, separate from this change).

Test plan

  • go build ./...
  • helm template spot-checked across several charts (mongodb, rabbitmq, pgpool, zookeeper, neo4j, qdrant) with monitoring enabled — port renders correctly

Each database's exporter port is hardcoded to match the default set by
its operator's SetDefaults() (kubedb.dev/apimachinery), so the rendered
CR always carries an explicit port instead of relying on the operator
default. neo4j and qdrant previously exposed this as a user-overridable
value; switched them to the same hardcoded pattern as the rest for
consistency.

Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit 233a91f into master Jul 31, 2026
8 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-exp-port branch July 31, 2026 12:00
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 this pull request may close these issues.

1 participant