From af0cd2fc64fdc3415edb01f078ec51ada928d259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Kronf=C3=A4lt?= Date: Sun, 22 Sep 2024 09:05:01 +0200 Subject: [PATCH] chore: update config format to fix deprecation warning --- platform/argocd/kustomization.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/platform/argocd/kustomization.yaml b/platform/argocd/kustomization.yaml index 853d4bf..259a9c8 100644 --- a/platform/argocd/kustomization.yaml +++ b/platform/argocd/kustomization.yaml @@ -1,10 +1,11 @@ namespace: argocd resources: - - ./namespace.yaml - - https://raw.githubusercontent.com/argoproj/argo-cd/v2.11.3/manifests/install.yaml +- ./namespace.yaml +- https://raw.githubusercontent.com/argoproj/argo-cd/v2.11.3/manifests/install.yaml # NOTE: patchesStrategicMerge is deprecated but still works. Converting to the suggested # patches: { file: ./config.yaml } syntax results in a validation error. -patchesStrategicMerge: - - ./config.yaml - +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +patches: +- path: ./config.yaml