From e8f66cec9a050d5cc992f0016959a36ab3719a85 Mon Sep 17 00:00:00 2001 From: Nitin-pgmr <34788996+Nitin-pgmr@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:20:55 +0200 Subject: [PATCH] Update kustomization.yaml fixing Unable to create application: application spec for kustom-app-dev is invalid: InvalidSpecError: Unable to generate manifests in kustom-webapp/overlays/dev: rpc error: code = Unknown desc = Manifest generation error (cached): `kustomize build /kustom-webapp/overlays/dev` failed exit status 1: Error: invalid Kustomization: json: cannot unmarshal string into Go struct field Kustomization.patches of type types.Patch --- kustom-webapp/overlays/dev/kustomization.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustom-webapp/overlays/dev/kustomization.yaml b/kustom-webapp/overlays/dev/kustomization.yaml index 21c1717e..baae624b 100644 --- a/kustom-webapp/overlays/dev/kustomization.yaml +++ b/kustom-webapp/overlays/dev/kustomization.yaml @@ -2,8 +2,8 @@ bases: - ../../base patches: - - replicas.yaml + - path: replicas.yaml # Ensure correct indentation and use 'path' configMapGenerator: - name: mykustom-map - env: config.properties \ No newline at end of file + env: config.properties