From a6f54d0ed9b8f249491fc250b0a47d6b73566c8e Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 7 Dec 2025 12:26:19 -0600 Subject: [PATCH] override labels --- clusters/cl01tl/helm/gitea/templates/service-monitor.yaml | 2 -- clusters/cl01tl/helm/gitea/values.yaml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/clusters/cl01tl/helm/gitea/templates/service-monitor.yaml b/clusters/cl01tl/helm/gitea/templates/service-monitor.yaml index 2285c010e..9a6e860ac 100644 --- a/clusters/cl01tl/helm/gitea/templates/service-monitor.yaml +++ b/clusters/cl01tl/helm/gitea/templates/service-monitor.yaml @@ -12,8 +12,6 @@ spec: matchLabels: app.kubernetes.io/name: gitea app.kubernetes.io/instance: {{ .Release.Name }} - matchExpressions: - - { key: app.kubernetes.io/controller, operator: NotIn, values: [backup] } endpoints: - port: http diff --git a/clusters/cl01tl/helm/gitea/values.yaml b/clusters/cl01tl/helm/gitea/values.yaml index 91eca70ac..349bff870 100644 --- a/clusters/cl01tl/helm/gitea/values.yaml +++ b/clusters/cl01tl/helm/gitea/values.yaml @@ -174,6 +174,9 @@ gitea-actions: backup: global: fullnameOverride: gitea-backup + labels: + app.kubernetes.io/instance: gitea-backup + app.kubernetes.io/name: gitea-backup controllers: backup: type: cronjob