Skip to content

A small script to automate the creation of kubeseal secrets to help populate a helm template while incorporating security best practices.

License

Notifications You must be signed in to change notification settings

chris-pws/sealegs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

sealegs

A Python 3 script to automate the creation of sealed Kubernetes secrets using kubeseal.

Instructions

  1. Clone the project repository: git clone https://github.com/cms-codes/sealegs.git

  2. Verify the shebang path matches your Python 3 interpreter.

  3. Run the script with the following parameters: sealegs.py --name [SECRET NAME] --namespace [NAMESPACE] --from-file [SECRETS1] --from-file [SECRETS2] --from-file [...]. Note that at minimum the secret name, namespace and one plaintext secrets file must be specified.

  4. The sealed secrets for each file will be printed to stdout.

About

A small script to automate the creation of kubeseal secrets to help populate a helm template while incorporating security best practices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages