-
Hello, I try to update my kustomize.yaml file, but it fails because I have multiple patches in one file. It seems that this issue has been solved according to : #5049 I'm wondering what am I doing wrong ? kubectl version
kustomization.yaml ---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: _k8s_secrets.yaml _k8s_secrets.yaml ---
apiVersion: v1
kind: Secret
metadata:
name: cloudflare-api-token-secret
namespace: cert-manager
stringData:
api-token: ***
---
apiVersion: v1
kind: ConfigMap
metadata:
name: meilisearch-environment
namespace: app-shared
data:
MEILI_MASTER_KEY: "***"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: maildev-environment
namespace: app-shared
data:
MAILDEV_WEB_USER: "***"
MAILDEV_WEB_PASS: "***"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: app-environment
namespace: my-app
data:
ASPNETCORE_ENVIRONMENT: "Staging"
Error output
|
Beta Was this translation helpful? Give feedback.
Answered by
juchom
Oct 23, 2023
Replies: 1 comment
-
The issue is that I'm not using the right version of Kustomize. This one contains the fix : https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.2.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
juchom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue is that I'm not using the right version of Kustomize.
This one contains the fix : https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.2.1