Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: adding description for the kustomize edit command #387 #389

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions site/content/en/references/kustomize/cmd/edit/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ weight: 5
description: >
Edits a kustomization file
---

The `kustomize edit command` provides the ability to manipulate an existing Kustomization configuration. As such, you must have either a valid `kustomization.yaml`, `kustomization.yml` or Kustomization resource already defined in order to use the edit command. The available subcommands include:

```
add Adds an item to the kustomization file
fix Fix the missing fields in kustomization file
remove Removes items from the kustomization file
set Sets the value of different fields in kustomization file
```

example command:

`kustomize edit add configmap my-configmap --from-file=my-key=file/path --from-literal=my-literal=12345`