From 7cdae4a07f5bab6c5604f4ddd29ce22e1bc67143 Mon Sep 17 00:00:00 2001 From: Jakob Englisch Date: Mon, 27 Nov 2023 19:00:51 +0100 Subject: [PATCH 1/2] fix(cert-manager): update aks labels --- infrastructure/cert-manager/cert-manager.libsonnet | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure/cert-manager/cert-manager.libsonnet b/infrastructure/cert-manager/cert-manager.libsonnet index 0a7f7c3..d41c93a 100644 --- a/infrastructure/cert-manager/cert-manager.libsonnet +++ b/infrastructure/cert-manager/cert-manager.libsonnet @@ -20,6 +20,8 @@ local k = (import '../../prelude.libsonnet'); namespaceSelector+: { matchExpressions: super.matchExpressions + [ { key: 'control-plane', operator: 'DoesNotExist' }, + { key: 'control-plane', operator: 'NotIn', values: ["true"] }, + { key: 'kubernetes.azure.com/managedby', operator: 'NotIn', values: ["aks"] }, ], }, }] + super.webhooks[1:], From 9dc67b132832aa3a34d66555278f7287d1c3e26c Mon Sep 17 00:00:00 2001 From: Michael Riedmann Date: Tue, 28 Nov 2023 12:51:30 +0000 Subject: [PATCH 2/2] tk fmt --- infrastructure/cert-manager/cert-manager.libsonnet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/cert-manager/cert-manager.libsonnet b/infrastructure/cert-manager/cert-manager.libsonnet index d41c93a..7fc9402 100644 --- a/infrastructure/cert-manager/cert-manager.libsonnet +++ b/infrastructure/cert-manager/cert-manager.libsonnet @@ -20,8 +20,8 @@ local k = (import '../../prelude.libsonnet'); namespaceSelector+: { matchExpressions: super.matchExpressions + [ { key: 'control-plane', operator: 'DoesNotExist' }, - { key: 'control-plane', operator: 'NotIn', values: ["true"] }, - { key: 'kubernetes.azure.com/managedby', operator: 'NotIn', values: ["aks"] }, + { key: 'control-plane', operator: 'NotIn', values: ['true'] }, + { key: 'kubernetes.azure.com/managedby', operator: 'NotIn', values: ['aks'] }, ], }, }] + super.webhooks[1:],