PiwHelm is a reusable Helm template chart designed to streamline the deployment of various Kubernetes objects, including deployments, configmaps, secrets, and ingress configurations. This Helm library is specifically tailored for deploying applications with Traefik through Cloudflare tunnels within Kubernetes environments.
PiwHelm simplifies the deployment process of Kubernetes applications with Traefik and Cloudflare tunnels, enabling efficient and consistent setup of essential resources.
Incorporate PiwHelm as a dependency in your Helm chart’s Chart.yaml
file:
dependencies:
- name: piwhelm
version: "0.0.6" # or specify the latest version
repository: "https://raw.githubusercontent.com/Piwero/piwhelm/master"
helm dependency build
or helm dependency update
if the version is updated.config/
directory within your chart and populate it with your config.yaml
, containing the necessary configmap keys and values.values.tpl
file and rename it to values.yaml
in your desired directory.values.yaml
to match the requirements of your application. Ensure to replace the piwhelm
value under global
with the name of your new repository.piwhelm/usable-templates/
to your-chart/templates/
directory based on your application’s needs.helm dependency build
.Install your new application using Helm with the following command:
helm install <NAME_OF_NEW_APP> . --namespace <NAME_OF_NEW_NS> --create-namespace
Grant execution permissions to all shell scripts within the project:
find . -name '*.sh' | xargs git update-index --chmod=+x
Set up pre-commit hooks for consistent code quality:
sh tools/pre-commit-setup.sh
By following these steps, you can seamlessly integrate PiwHelm into your Helm charts, ensuring smooth and efficient deployment of Kubernetes applications with Traefik and Cloudflare tunnels.
Feel free to contribute and improve PiwHelm by submitting pull requests or reporting issues on the GitHub repository. Your feedback and contributions are greatly appreciated!