Skip to content

Commit

Permalink
docs: mention that the argocd diff command does not include secrets (a…
Browse files Browse the repository at this point in the history
…rgoproj#15950)

* doc(cli): update argocd_app_diff

Adding the fact that secrets are ignored by the diff (not really stated in the doc so far)

Signed-off-by: ario0 <[email protected]>

* doc: remove whitespace

Signed-off-by: ario0 <[email protected]>

---------

Signed-off-by: ario0 <[email protected]>
Signed-off-by: Alexis Renard <[email protected]>
Co-authored-by: pasha-codefresh <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
  • Loading branch information
3 people authored and mkieweg committed Jun 11, 2024
1 parent 602ba2b commit b027f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/argocd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ func NewApplicationDiffCommand(clientOpts *argocdclient.ClientOptions) *cobra.Co
var command = &cobra.Command{
Use: "diff APPNAME",
Short: shortDesc,
Long: shortDesc + "\nUses 'diff' to render the difference. KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff tool.\nReturns the following exit codes: 2 on general errors, 1 when a diff is found, and 0 when no diff is found",
Long: shortDesc + "\nUses 'diff' to render the difference. KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff tool.\nReturns the following exit codes: 2 on general errors, 1 when a diff is found, and 0 when no diff is found\nKubernetes Secrets are ignored from this diff.",
Run: func(c *cobra.Command, args []string) {
ctx := c.Context()

Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/commands/argocd_app_diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Perform a diff against the target and live state.
Perform a diff against the target and live state.
Uses 'diff' to render the difference. KUBECTL_EXTERNAL_DIFF environment variable can be used to select your own diff tool.
Returns the following exit codes: 2 on general errors, 1 when a diff is found, and 0 when no diff is found
Kubernetes Secrets are ignored from this diff.

```
argocd app diff APPNAME [flags]
Expand Down

0 comments on commit b027f87

Please sign in to comment.