From 1612b6a0e2efe34b75f75fb1dc5a61836cbe835d Mon Sep 17 00:00:00 2001 From: Exordian Date: Tue, 28 Nov 2023 13:55:23 +0100 Subject: [PATCH] fix(cert-manager): update aks labels (#37) * fix(cert-manager): update aks labels --------- Co-authored-by: Jakob Englisch Co-authored-by: Michael Riedmann --- 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..7fc9402 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:],