A Python package for generating secure docker and k8s resources
Project description
gensec
gensec is a command-line tool designed to simplify the process of generating scure configuration files such as Dockerfiles and Helm charts. The CLI prompts users for input as needed and includes interactive options to customize configurations effectively.
Features
- Generate Dockerfiles: Create secure and customizable Dockerfiles for different programming languages.
- Generate Helm charts: Create Helm chart templates for Kubernetes deployments.
- List available commands: Display the available commands and their descriptions.
Installation
You can install the gensec package directly from PyPI:
bash pip install gensec
Usage
After installing the package, you can use the following commands:
List Available Commands
To list all available commands, run:
gensec list
Generate a Dockerfile
To generate a Dockerfile, use the dockerfile command:
gensec dockerfile --language <programming_language> --port <port_number> --entrypoint <entry_point>
If the details are not provided, the tool will prompt you to select the language, port, and entrypoint interactively.
Generate a Helm Chart
To generate a Helm chart, use the helmchart command:
gensec helmchart --name <service_name>
If the details are not provided, the tool will prompt you to enter the service name interactively.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gensec-0.0.5.tar.gz.
File metadata
- Download URL: gensec-0.0.5.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b43adb6764781fc51f70ad3fea750095ab670f950be05d262b997f0d2da08ec7
|
|
| MD5 |
f52fb3db38ca6d141d75517a787b0e1a
|
|
| BLAKE2b-256 |
80b1f9e9f0f9ca550acd8a6e150174feaaed099b482df24c488a642f146f2808
|
File details
Details for the file gensec-0.0.5-py3-none-any.whl.
File metadata
- Download URL: gensec-0.0.5-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdee201bbb4f421ef881071e58181b96e563bc345335d8a2bbaed74aa6d773d2
|
|
| MD5 |
1ab82cf12b443ab2637aad3b490376f7
|
|
| BLAKE2b-256 |
6edd25a8459f8ba495a7eef3289b8e082134e59b0b0189ab94333ac1a7ae551d
|