From 5f79b862b25af8b75ec3e8421a86d4a9f7ca7039 Mon Sep 17 00:00:00 2001 From: MAHDTech Date: Fri, 19 Nov 2021 02:33:57 +1100 Subject: [PATCH] Ignore all label changes (#384) --- bootstrap/core/tools/babylon/babylon-config.yaml | 3 +++ bootstrap/patches/babylon-config.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap/core/tools/babylon/babylon-config.yaml b/bootstrap/core/tools/babylon/babylon-config.yaml index d81b6166..fd4765a8 100644 --- a/bootstrap/core/tools/babylon/babylon-config.yaml +++ b/bootstrap/core/tools/babylon/babylon-config.yaml @@ -16,6 +16,9 @@ spec: kind: CustomResourceDefinition jsonPointers: - /spec/names/shortNames + - kind: Namespace + jsonPointers: + - /metadata/labels syncPolicy: automated: prune: true diff --git a/bootstrap/patches/babylon-config.yaml b/bootstrap/patches/babylon-config.yaml index 58b1e6d6..066059c6 100644 --- a/bootstrap/patches/babylon-config.yaml +++ b/bootstrap/patches/babylon-config.yaml @@ -11,7 +11,7 @@ spec: - /spec/names/shortNames - kind: Namespace jsonPointers: - - /metadata/labels/app.kubernetes.io/instance + - /metadata/labels source: helm: values: |-