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.
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
helm repo add service-foundry https://nsalexamy.github.io/helm-charts/
helm repo update
kubectl create namespace service-foundry
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
----
kubectl -n service-foundry create secret generic service-foundry-github-ssh \
--from-file=./id_rsa --from-file=./id_rsa.pub
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
helm install service-foundry-builder service-foundry/service-foundry-builder \
--namespace service-foundry \
--version 0.1.0 \
To uninstall the chart:
helm uninstall service-foundry-builder -n service-foundry
kubectl logs -l app=service-foundry-builder -n service-foundry
kubectl get jobs -n service-foundry