Skip to content

Conversation

@csatib02
Copy link
Member

Fixes: #2129

Manually tested:

apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  name: all-to-file
spec:
  controlNamespace: logging
  fluentd:
    metrics:
      prometheusRules: true
      prometheusRulesLabels:
        kis: cica
        csulkos: pacal
kubectl get prometheusrule all-to-file-fluentd-metrics -o yaml | yq '.metadata.labels'
app.kubernetes.io/component: fluentd
app.kubernetes.io/managed-by: all-to-file
app.kubernetes.io/name: fluentd
csulkos: pacal
kis: cica

@csatib02 csatib02 self-assigned this Dec 23, 2025
@csatib02 csatib02 added the enhancement New feature or request label Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow custom labels on PrometheusRules

2 participants