You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,7 @@ Flags:
124
124
--post-renderer string the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path
125
125
--reset-values reset the values to the ones built into the chart and merge in any new values
126
126
--reuse-values reuse the last release's values and merge in any new values
127
+
--strip-trailing-cr strip trailing carriage return on input
127
128
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
128
129
--suppress stringArray allows suppression of the values listed in the diff output
129
130
-q, --suppress-secrets suppress secrets in the output
@@ -156,6 +157,7 @@ Flags:
156
157
-h, --help help for release
157
158
--home string location of your Helm config. Overrides $HELM_HOME (default "/home/aananth/.helm")
158
159
--include-tests enable the diffing of the helm test hooks
160
+
--strip-trailing-cr strip trailing carriage return on input
159
161
--suppress stringArray allows suppression of the values listed in the diff output
160
162
-q, --suppress-secrets suppress secrets in the output
161
163
--tls enable TLS for request
@@ -193,6 +195,7 @@ Usage:
193
195
194
196
Flags:
195
197
-h, --help help for revision
198
+
--strip-trailing-cr strip trailing carriage return on input
196
199
--suppress stringArray allows suppression of the values listed in the diff output
197
200
-q, --suppress-secrets suppress secrets in the output
198
201
@@ -218,6 +221,7 @@ Examples:
218
221
219
222
Flags:
220
223
-h, --help help for rollback
224
+
--strip-trailing-cr strip trailing carriage return on input
221
225
--suppress stringArray allows suppression of the values listed in the diff output
222
226
-q, --suppress-secrets suppress secrets in the output
releaseCmd.Flags().IntVarP(&diff.outputContext, "context", "C", -1, "output NUM lines of context around changes")
80
81
releaseCmd.Flags().BoolVar(&diff.includeTests, "include-tests", false, "enable the diffing of the helm test hooks")
81
82
releaseCmd.Flags().StringVar(&diff.output, "output", "diff", "Possible values: diff, simple, template. When set to \"template\", use the env var HELM_DIFF_TPL to specify the template.")
83
+
releaseCmd.Flags().BoolVar(&diff.stripTrailingCR, "strip-trailing-cr", false, "strip trailing carriage return on input")
revisionCmd.Flags().IntVarP(&diff.outputContext, "context", "C", -1, "output NUM lines of context around changes")
90
91
revisionCmd.Flags().BoolVar(&diff.includeTests, "include-tests", false, "enable the diffing of the helm test hooks")
91
92
revisionCmd.Flags().StringVar(&diff.output, "output", "diff", "Possible values: diff, simple, template. When set to \"template\", use the env var HELM_DIFF_TPL to specify the template.")
93
+
revisionCmd.Flags().BoolVar(&diff.stripTrailingCR, "strip-trailing-cr", false, "strip trailing carriage return on input")
rollbackCmd.Flags().IntVarP(&diff.outputContext, "context", "C", -1, "output NUM lines of context around changes")
82
83
rollbackCmd.Flags().BoolVar(&diff.includeTests, "include-tests", false, "enable the diffing of the helm test hooks")
83
84
rollbackCmd.Flags().StringVar(&diff.output, "output", "diff", "Possible values: diff, simple, template. When set to \"template\", use the env var HELM_DIFF_TPL to specify the template.")
85
+
rollbackCmd.Flags().BoolVar(&diff.stripTrailingCR, "strip-trailing-cr", false, "strip trailing carriage return on input")
f.BoolVar(&diff.dryRun, "dry-run", false, "disables cluster access and show diff as if it was install. Implies --install, --reset-values, and --disable-validation")
120
121
f.StringVar(&diff.postRenderer, "post-renderer", "", "the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path")
121
122
f.StringVar(&diff.output, "output", "diff", "Possible values: diff, simple, json, template. When set to \"template\", use the env var HELM_DIFF_TPL to specify the template.")
123
+
f.BoolVar(&diff.stripTrailingCR, "strip-trailing-cr", false, "strip trailing carriage return on input")
122
124
if!isHelm3() {
123
125
f.StringVar(&diff.namespace, "namespace", "default", "namespace to assume the release to be installed into")
0 commit comments