Skip to content

Commit

Permalink
feat: display success message while create secrets via flux cli.
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Cai <[email protected]>
  • Loading branch information
Charles Cai committed Aug 4, 2021
1 parent 4f4f0d7 commit 70f2b50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flux/create_secret_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func createSecretGitCmdRun(cmd *cobra.Command, args []string) error {
if err := upsertSecret(ctx, kubeClient, s); err != nil {
return err
}
logger.Actionf("secret '%s' created in '%s' namespace", name, rootArgs.namespace)
logger.Actionf("git secret '%s' created in '%s' namespace", name, rootArgs.namespace)

return nil
}
1 change: 1 addition & 0 deletions cmd/flux/create_secret_helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ func createSecretHelmCmdRun(cmd *cobra.Command, args []string) error {
return err
}

logger.Actionf("helm secret '%s' created in '%s' namespace", name, rootArgs.namespace)
return nil
}
1 change: 1 addition & 0 deletions cmd/flux/create_secret_tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,6 @@ func createSecretTLSCmdRun(cmd *cobra.Command, args []string) error {
return err
}

logger.Actionf("tls secret '%s' created in '%s' namespace", name, rootArgs.namespace)
return nil
}

0 comments on commit 70f2b50

Please sign in to comment.