kubernetes-sigs / kustomize

Customization of kubernetes YAML configurations
Apache License 2.0
11.08k stars 2.26k forks source link

duplicate "namespace:" entries in kustomization.yaml should get detected #5815

Open guettli opened 17 hours ago

guettli commented 17 hours ago

Eschewed features

What would you like to have added?

If this is in my kustomization.yaml file, I would like to get an error:

namespace: foo
namespace: bar

Why is this needed?

This helps me to find errors early.

Can you accomplish the motivating task without this feature, and if so, how?

After some time I will find that error.

What other solutions have you considered?

.

Anything else we should know?

No response

Feature ownership

k8s-ci-robot commented 17 hours ago

This issue is currently awaiting triage.

SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.