Skip to content

Commit

Permalink
feat(command): add warning not to push secrets to the public
Browse files Browse the repository at this point in the history
  • Loading branch information
budimanjojo committed Feb 2, 2023
1 parent 629e97a commit b80ac08
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ Any input and suggestion will be highly appreciated.

<p align="right">(<a href="#top">back to top</a>)</p>

## 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.**

<p align="right">(<a href="#top">back to top</a>)</p>

## Getting Started

Scenario 1 (You already have your talos config but not GitOps it yet):
Expand Down
4 changes: 4 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit b80ac08

Please sign in to comment.