From d25789c0efd5497a6e4c6cf0c6c20ffbc22e51e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 29 Nov 2025 21:10:09 +0100 Subject: [PATCH] Stop using deprecated kustomize commonLabels --- src/runboat/kubefiles/kustomization.yaml.jinja | 7 +++++-- tests/test_render_kubefiles.py | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/runboat/kubefiles/kustomization.yaml.jinja b/src/runboat/kubefiles/kustomization.yaml.jinja index aa78542..0cdac10 100644 --- a/src/runboat/kubefiles/kustomization.yaml.jinja +++ b/src/runboat/kubefiles/kustomization.yaml.jinja @@ -16,8 +16,11 @@ namespace: {{ namespace }} namePrefix: "{{ build_name }}-" -commonLabels: - runboat/build: "{{ build_name }}" +labels: + - pairs: + runboat/build: "{{ build_name }}" + includeSelectors: true + includeTemplates: true commonAnnotations: runboat/repo: "{{ commit_info.repo }}" diff --git a/tests/test_render_kubefiles.py b/tests/test_render_kubefiles.py index f3642ae..07e90a1 100644 --- a/tests/test_render_kubefiles.py +++ b/tests/test_render_kubefiles.py @@ -14,8 +14,11 @@ namespace: runboat-builds namePrefix: "build-name-" -commonLabels: - runboat/build: "build-name" +labels: + - pairs: + runboat/build: "build-name" + includeSelectors: true + includeTemplates: true commonAnnotations: runboat/repo: "oca/mis-builder"