From 2bf35a9997486938281f50d8f532eb9ad00d94f0 Mon Sep 17 00:00:00 2001 From: Anders Bennedsgaard Date: Wed, 13 Mar 2024 10:06:24 +0100 Subject: [PATCH] fix cert-manager kustomize warnings Signed-off-by: Anders Bennedsgaard --- .../kubeflow-issuer/base/kustomization.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/cert-manager/kubeflow-issuer/base/kustomization.yaml b/common/cert-manager/kubeflow-issuer/base/kustomization.yaml index b255919697..a69b49a79f 100644 --- a/common/cert-manager/kubeflow-issuer/base/kustomization.yaml +++ b/common/cert-manager/kubeflow-issuer/base/kustomization.yaml @@ -1,9 +1,11 @@ # Define the self-signed issuer for Kubeflow apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -commonLabels: - kustomize.component: cert-manager - app.kubernetes.io/component: cert-manager - app.kubernetes.io/name: cert-manager resources: - cluster-issuer.yaml +labels: +- includeSelectors: true + pairs: + app.kubernetes.io/component: cert-manager + app.kubernetes.io/name: cert-manager + kustomize.component: cert-manager