Add clusterDomain value; deprecate misdocumented clusterName #383
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 216 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.322
Real PR Conversation Timeline
1 comments
"Review active on #383"
general
weight: 0.35
KR-Ravindra
Problem
clusterNameis documented as the Kubernetes cluster name ("Can be found in /etc/kubernetes/admin.conf: clusters -> cluster -> name"), so users set it to their kubeconfig or EKS cluster name. The chart then renders in-cluster URLs likeprometheus-server.prometheus-system.svc.my-eks-cluster:80and OpenCost fails at startup withlookup ...: no such host.The value is only ever used as the DNS suffix of generated service FQDNs —
_helpers.tplinterpolates it as<service>.<namespace>.svc.<clusterName>— never as a cluster identifier. It was introduced in #236 for a cluster with a non-default DNS domain; the actual cluster identity knob isopencost.exporter.defaultClusterId.Fix
clusterDomain(defaultcluster.local), described by what it is for, pointing atopencost.exporter.defaultClusterIdfor cluster identity.clusterNameas a deprecated alias (default now""); when set it still takes precedence, so existing values files render identical URLs._helpers.tpluses.Values.clusterName | default .Values.clusterDomainin bothprometheusServerEndpointandthanosServerEndpoint.tests/cluster_domain_test.yamlcovering the default,clusterDomain, and the deprecated alias.helm-docsrun also picks up unrelated drift from the v1.121.x releases, so it is left alone as in #378.Rendered output with default values is unchanged apart from the
helm.sh/chartlabel.Links
Yes, AI-assisted; reviewed by me.