devops4solutions/springboot-helm-chart

This repository provides a Helm chart for deploying a Spring Boot microservice on a Kubernetes cluster. The chart allows for easy deployment, scaling, and management of Spring Boot applications using Helm.

โ˜… 0Forks 6SmartyGitHub โ†—Compare

README

Deploying Helm Charts using GitHub Pages

References

Video

๐Ÿ“Œ Overview

This repository demonstrates how to publish a Helm Chart on GitHub Pages and turn it into a self-hosted Helm Chart repository using GitHub Actions. This allows you to store, manage, and deploy Helm Charts easily across multiple Kubernetes projects.

๐ŸŽฏ What You'll Learn

โœ… How to create and customize a Helm Chart
โœ… How to automate Helm Chart publishing with GitHub Actions
โœ… How to use the published Helm Chart in Kubernetes deployments


๐Ÿš€ Publishing the Helm Chart

This repository is configured to automatically publish Helm Charts to GitHub Pages using GitHub Actions.

Prerequisites

Before publishing, ensure:
โœ… Your GitHub repository has a charts/ directory containing Helm Charts
โœ… You have a GitHub Pages branch (gh-pages) to store the published charts
โœ… Your repository settings allow GitHub Pages from the gh-pages branch

๐Ÿ”„ Publishing Steps

GitHub Actions will trigger automatically when:

  1. A push is made to the main branch
  2. A manual workflow dispatch is triggered

To manually trigger the workflow:

  1. Go to GitHub โ†’ Actions
  2. Select Publish Helm Chart Workflow
  3. Click Run Workflow

Once the workflow completes, your Helm Chart will be available via GitHub Pages.


๐Ÿ“ฅ Using the Published Helm Chart

Step 1: Add the Helm Repository

To use the published Helm Chart in your Kubernetes projects, add the Helm repository:

helm repo add myrepo https://<your-github-username>.github.io/<your-repo-name>/
helm repo update

Contributors

devops4solutions

Issues