Skip to content

Commit

Permalink
fix: argocd-util generate-spec should not print argocd-cm ConfigMap (a…
Browse files Browse the repository at this point in the history
…rgoproj#6582)

Signed-off-by: Alexander Matyushentsev <[email protected]>
  • Loading branch information
Alexander Matyushentsev authored Jun 28, 2021
1 parent e5d9c39 commit ef910c8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/argocd-util/commands/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ func NewGenRepoSpecCommand() *cobra.Command {
printResources = append(printResources, secret)
}

cm, err := kubeClientset.CoreV1().ConfigMaps(ArgoCDNamespace).Get(context.Background(), common.ArgoCDConfigMapName, v1.GetOptions{})
errors.CheckError(err)

printResources = append(printResources, cm)
errors.CheckError(cmdutil.PrintResources(printResources, outputFormat))
},
}
Expand Down

0 comments on commit ef910c8

Please sign in to comment.