Closed wigust closed 5 months ago
Hi @wigust The configuration .Values.labels can also be used to add custom labels.
Hi @opencmit2
Apologies for the slow response.
The configuration .Values.labels can also be used to add custom labels.
It can, but as described in the pull request - it triggers to restart all OpenSearch pods which is too costly for the case of adding a label to ingress.
Merged in #497
Thank you for adding this feature!
Is your feature request related to a problem? Please describe. The Prometheus Operator allows to create Probes objects automatically for all Ingress objects. The OpenSearch API requires authentication on / and returns 401, which triggers alerts by default (not HTTP code 200-399).
Describe the solution you'd like Labels could be used in kube-prometheus-stack monitoring.coreos.com/v1 Probe objects as a selector to disable creating probe for the OpenSearch Ingress.
Describe alternatives you've considered Configure Blackbox exporter for authenticated connections to OpenSearch API.
Additional context Similar to #394 Ingress labels could be used for other things, e.g. external-dns.
Pull request adding this feature is available at https://github.com/opensearch-project/helm-charts/pull/497