From 7cdae4a07f5bab6c5604f4ddd29ce22e1bc67143 Mon Sep 17 00:00:00 2001 From: Jakob Englisch Date: Mon, 27 Nov 2023 19:00:51 +0100 Subject: [PATCH] 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:],