kubernetes-sigs / kubernetes-sigs/kustomize
option to specify path for kustomize edit
- Dominant language
- Go
- Stars
- 12.2k
- Forks
- 2.4k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 25
Description
Using the CLI is very difficult as its not possible to specify an exact working path to a `kustomization.yaml` file.
For example:
```bash
kustomize edit set image redis:1.1.1
```
I HAVE to execute this inside the directory, it would be hugely useful to be able to specify the directory:
```bash
kustomize edit set image redis:1.1.1 --path /path/to/kustomization.yaml
```
Contributor guide
Research direction
Start at the kustomize edit CLI entry point and inspect how edit subcommands locate kustomization.yaml. Run the example command from outside the target directory and compare it with the current in-directory behavior. Done means an explicit --path accepting /path/to/kustomization.yaml works for the edit command without requiring a directory change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100