dnskr opened a new pull request, #7105:
URL: https://github.com/apache/kyuubi/pull/7105

   ### Why are the changes needed?
   The change is needed to be able to add additional labels to `PrometheusRule` 
similar to 
[podMonitor](https://github.com/apache/kyuubi/blob/523722788fd4fbf661cce8572c529af09c34079a/charts/kyuubi/values.yaml#L321-L330)
 and 
[serviceMonitor](https://github.com/apache/kyuubi/blob/523722788fd4fbf661cce8572c529af09c34079a/charts/kyuubi/values.yaml#L333-L341).
   The PR also includes minor identation fixes.
   
   
   ### How was this patch tested?
   ```shell
   helm template kyuubi charts/kyuubi --set metrics.prometheusRule.enabled=true 
--set metrics.prometheusRule.labels.test-label=true -s 
templates/kyuubi-alert.yaml
   ---
   # Source: kyuubi/templates/kyuubi-alert.yaml
   apiVersion: monitoring.coreos.com/v1
   kind: PrometheusRule
   metadata:
     name: kyuubi
     labels:
       helm.sh/chart: kyuubi-0.1.0
       app.kubernetes.io/name: kyuubi
       app.kubernetes.io/instance: kyuubi
       app.kubernetes.io/version: "1.10.0"
       app.kubernetes.io/managed-by: Helm
       test-label: true
   spec:
     groups:
       []
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to