chris-pws / sealegs Goto Github PK
View Code? Open in Web Editor NEWA small script to automate the creation of kubeseal secrets to help populate a helm template while incorporating security best practices.
License: MIT License
A small script to automate the creation of kubeseal secrets to help populate a helm template while incorporating security best practices.
License: MIT License
I tried to run with the following arguments, according to the README, and I had some trouble.
python3 sealegs.py --namespace dev --from-file secret1 --from-file secret2 --from-file secret3 --from-file secret4
Traceback (most recent call last):
File "sealegs.py", line 65, in <module>
if line.find(secret_name[-1]) > -1:
TypeError: argument should be integer or bytes-like object, not 'str'
We will need the ability to make a secret/sealedSecret with an arbitrary name. Ideally we will print the secret name and its namespace (maybe even which cluster it's for?) at the end. The word "secret" here is confusing, but in this case the "name" metadata field for the two yaml objects we're working with, the secret and the sealedSecret, should be a parameter, since a helm chart might call the "secret" by any name.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.