diff --git a/README.md b/README.md index d6714bc5..9813257f 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,14 @@ Any input and suggestion will be highly appreciated.

(back to top)

+## WARNING + +**Please don't push the generated files into your public git repository. +By default `talhelper` will create a `.gitignore` file to ignore the generated files for you unless you use `--no-gitignore` flag. +The generated files contain unencrypted secrets and you don't want people to get a hand of them.** + +

(back to top)

+ ## Getting Started Scenario 1 (You already have your talos config but not GitOps it yet): diff --git a/cmd/root.go b/cmd/root.go index b78d925e..6d107a56 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -36,6 +36,10 @@ Workflow: > talhelper genconfig The generated yaml files will be in ./clusterconfig directory + + WARNING! Please don't push the generated files into your public git repository. + By default talhelper will create a ".gitignore" file to ignore the generated files for you unless you use "--no-gitignore" flag. + The generated files contain unencrypted secrets and you don't want people to get a hand of them. `) var rootCmd = &cobra.Command{