helm-charts

Service Foundry Builder - Helm Chart

A Helm chart for deploying the Service Foundry Builder as a Kubernetes Job. This chart provides a template for deploying Service Foundry modules using Kubernetes-native jobs and includes configuration for environment variables, secrets, and volume mounts.

📦 Features

🛠️ Prerequisites

How to update the chart

Update the chart version in Chart.yaml and the image tag in values.yaml to the latest version.

helm package service-foundry-builder

helm repo index . --url https://nsalexamy.github.io/helm-charts

CHART_VERSION=$(grep 'version:' service-foundry-builder/Chart.yaml | awk '{print $2}')

git add .

git commit -m "Update service-foundry-builder chart to version $CHART_VERSION"

git tag -a v${CHART_VERSION} -m "Release version $CHART_VERSION"

git push origin main

🚀 Installation

1. Add Helm Repository

helm repo add service-foundry https://nsalexamy.github.io/helm-charts/
helm repo update

2. Create Namespace

kubectl create namespace service-foundry

3. Create aws-secret Secret and aws-config ConfigMap

kubectl -n service-foundry create secret generic aws-secret \
  --from-literal=AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
  --from-literal=AWS_ACCOUNT_ID=$AWS_ACCOUNT_ID \
  --from-literal=AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
  --from-literal=AWS_REGION=$AWS_REGION
[,terminal]
----
EKS_CLUSTER_NAME="your-eks-cluster-name"
kubectl -n service-foundry create configmap aws-config \
  --from-literal=EKS_CLUSTER_NAME=$EKS_CLUSTER_NAME
----

4. Create service-foundry-github-ssh Secret

kubectl -n service-foundry create secret generic service-foundry-github-ssh \
  --from-file=./id_rsa --from-file=./id_rsa.pub

5. Create service-foundry-config-files Secret

kubectl create secret generic service-foundry-config-files \
  --from-file=infra-foundry-config.yaml \
  --from-file=o11y-foundry-config.yaml \
  --from-file=sso-foundry-config.yaml \
  -n service-foundry

6. Install the Chart

helm install service-foundry-builder service-foundry/service-foundry-builder \
  --namespace service-foundry \
  --version 0.1.0 \

✅ Uninstalling the Chart

To uninstall the chart:

helm uninstall service-foundry-builder -n service-foundry

🛠️ Troubleshooting