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
+32-10Lines changed: 32 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ The Helm Diff Plugin
67
67
68
68
* Shows a diff explaining what a helm rollback would change:
69
69
This fetches the currently deployed version of a release
70
-
and compares it to the previously deployed versions of the release, that you
70
+
and compares it to the previously deployed version of the release, that you
71
71
want to rollback. This can be used visualize what changes a
72
72
helm rollback will perform.
73
73
@@ -83,15 +83,37 @@ Available Commands:
83
83
version Show version of the helm diff plugin
84
84
85
85
Flags:
86
-
-h, --help help for diff
87
-
--no-color remove colors from the output
88
-
--reset-values reset the values to the ones built into the chart and merge in any new values
89
-
--reuse-values reuse the last release's values and merge in any new values
90
-
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
91
-
--suppress stringArray allows suppression of the values listed in the diff output
92
-
-q, --suppress-secrets suppress secrets in the output
93
-
-f, --values valueFiles specify values in a YAML file (can specify multiple) (default [])
94
-
--version string specify the exact chart version to use. If this is not specified, the latest version is used
86
+
--allow-unreleased enables diffing of releases that are not yet deployed via Helm
87
+
-a, --api-versions stringArray Kubernetes api versions used for Capabilities.APIVersions
88
+
--color color output. You can control the value for this flag via HELM_DIFF_COLOR=[true|false]. If both --no-color and --color are unspecified, coloring enabled only when the stdout is a term and TERM is not "dumb"
89
+
-C, --context int output NUM lines of context around changes (default -1)
90
+
--detailed-exitcode return a non-zero exit code when there are changes
91
+
--devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.
92
+
--disable-openapi-validation disables rendered templates validation against the Kubernetes OpenAPI Schema
93
+
--disable-validation disables rendered templates validation against the Kubernetes cluster you are currently pointing to. This is the same validation performed on an install
94
+
--dry-run disables cluster access and show diff as if it was install. Implies --install, --reset-values, and --disable-validation
95
+
-h, --help help for diff
96
+
--include-tests enable the diffing of the helm test hooks
97
+
--install enables diffing of releases that are not yet deployed via Helm (equivalent to --allow-unreleased, added to match "helm upgrade --install" command
98
+
--kubeconfig string This flag is ignored, to allow passing of this top level flag to helm
99
+
--no-color remove colors from the output. If both --no-color and --color are unspecified, coloring enabled only when the stdout is a term and TERM is not "dumb"
100
+
--no-hooks disable diffing of hooks
101
+
--normalize-manifests normalize manifests before running diff to exclude style differences from the output
102
+
--output string Possible values: diff, simple, json, template. When set to "template", use the env var HELM_DIFF_TPL to specify the template. (default "diff")
103
+
--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
104
+
--repo string specify the chart repository url to locate the requested chart
105
+
--reset-values reset the values to the ones built into the chart and merge in any new values
106
+
--reuse-values reuse the last release's values and merge in any new values. If '--reset-values' is specified, this is ignored
107
+
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
108
+
--set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
109
+
--set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
110
+
--show-secrets do not redact secret values in the output
111
+
--strip-trailing-cr strip trailing carriage return on input
112
+
--suppress stringArray allows suppression of the values listed in the diff output
113
+
-q, --suppress-secrets suppress secrets in the output
114
+
--three-way-merge use three-way-merge to compute patch and generate diff output
115
+
-f, --values valueFiles specify values in a YAML file (can specify multiple) (default [])
116
+
--version string specify the exact chart version to use. If this is not specified, the latest version is used
cmd.PersistentFlags().Bool("no-color", false, "remove colors from the output")
75
+
cmd.PersistentFlags().Bool("no-color", false, "remove colors from the output. If both --no-color and --color are unspecified, coloring enabled only when the stdout is a term and TERM is not \"dumb\"")
76
+
cmd.PersistentFlags().Bool("color", false, "color output. You can control the value for this flag via HELM_DIFF_COLOR=[true|false]. If both --no-color and --color are unspecified, coloring enabled only when the stdout is a term and TERM is not \"dumb\"")
0 commit comments