helm repo add chia-network https://chia-network.github.io/helm-chartsTo expose /metrics for Prometheus Operator scrapes, wire container port → Service port → ServiceMonitor with a consistent port name metrics:
deployment.additionalPorts— add a named port, e.g.- name: metrics,containerPort: <listener>,protocol: TCP.service.additionalPorts— expose the same path withname: metrics,port: <listener>(or another cluster port), andtargetPort: metrics(string name matching the container port name).serviceMonitor— setenabled: true.endpointPortdefaults tometricsand must match the Service port name (not the container port number).
If the target cluster does not install monitoring.coreos.com/v1 ServiceMonitors, leave serviceMonitor.enabled false and scrape via static config or another mechanism.