kubernetes-sigs / kubernetes-sigs/kustomize

ConfigMaps items are generated with random order

Open
#4,292 27 comments 2 reactions 0 assignees View on GitHub
good first issue help wanted kind/feature triage/accepted
Dominant language
Go
Stars
12.2k
Forks
2.4k
Avg merge
2d 14h
Merged PRs (30d)
25

Description

# Description

`kustomize build .` produces configmap items in a random order and although it is somehow benign since it produces equivalent YAML files, it would be great if the build outputs are consistent and reproducible.

I tested it with kustomize v4.4.1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ordering difference with `kustomize build .` using the ConfigMap case described in the issue, then trace the ConfigMap generation path in the Go code. Done means repeated builds produce the same ConfigMap item order and equivalent existing output remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.