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