Skip to content

Commit 1a32d20

Browse files
chriskeryarttor
authored andcommitted
Add the -original-name flag description to README.md
1 parent 96167fd commit 1a32d20

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ Usage:
107107
| -version | Print helmify version. | `helmify -version` |
108108
| -crd-dir | Place crds in their own folder per Helm 3 [docs](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-1-let-helm-do-it-for-you). Caveat: CRDs templating is not supported by Helm. | `helmify -crd-dir` |
109109
| -image-pull-secrets | Allows the user to use existing secrets as imagePullSecrets | `helmify -image-pull-secrets` |
110+
| -original-name | Use the object's original name instead of adding the chart's release name as the common prefix. | `helmify -original-name` |
110111
| -cert-manager-as-subchart | Allows the user to install cert-manager as a subchart | `helmify -cert-manager-as-subchart` |
111-
| -cert-manager-version | Allows the user to specify cert-manager subchart version. Only useful with cert-manager-as-subchart. (default "v1.12.2") | `helmify -cert-manager-as-subchart` |
112+
| -cert-manager-version | Allows the user to specify cert-manager subchart version. Only useful with cert-manager-as-subchart. (default "v1.12.2") | `helmify -cert-manager-as-subchart` |
112113
## Status
113114
Supported k8s resources:
114115
- Deployment, DaemonSet, StatefulSet

cmd/helmify/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func ReadFlags() config.Config {
6666
flag.BoolVar(&result.CertManagerAsSubchart, "cert-manager-as-subchart", false, "Allows the user to add cert-manager as a subchart")
6767
flag.StringVar(&result.CertManagerVersion, "cert-manager-version", "v1.12.2", "Allows the user to specify cert-manager subchart version. Only useful with cert-manager-as-subchart.")
6868
flag.BoolVar(&result.FilesRecursively, "r", false, "Scan dirs from -f option recursively")
69-
flag.BoolVar(&result.OriginalName, "original-name", false, "Retains Kubernetes resource's original name.")
69+
flag.BoolVar(&result.OriginalName, "original-name", false, "Use the object's original name instead of adding the chart's release name as the common prefix.")
7070
flag.Var(&files, "f", "File or directory containing k8s manifests")
7171

7272
flag.Parse()

0 commit comments

Comments
 (0)