From b3151bb862428564e251fd2e923979eb14e5f2b8 Mon Sep 17 00:00:00 2001 From: Aleksandr Albekov Date: Wed, 14 Oct 2026 23:02:18 +0200 Subject: [PATCH] Put the ownership labels on auth pods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flux commonMetadata labels the objects from this repo but not their pod templates, so kube_pod_labels has no bulbashenko.com/* for auth and the "Главное" dashboard cannot group its CPU and memory. Selectors are left alone, so the Deployments are updated in place. Co-Authored-By: Claude Opus 5.5 --- kustomization.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kustomization.yaml b/kustomization.yaml index 7209800..da636fa 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -3,6 +3,14 @@ # and the auth-ui image tag (same commit as this repo). apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +# Ownership labels on pods (infra README: Labels). Flux commonMetadata labels the objects but not their pod +# templates; selectors are left alone so existing Deployments stay valid. +labels: + - pairs: + bulbashenko.com/layer: app + bulbashenko.com/app: auth + includeSelectors: false + includeTemplates: true resources: - deploy/k8s/ory.yaml - deploy/k8s/ui.yaml