https://github.com/gad-ongoro/helm-charts
GOFoods Helm Charts
https://github.com/gad-ongoro/helm-charts
helm-charts kubernetes kubernetes-deployment
Last synced: 3 months ago
JSON representation
GOFoods Helm Charts
- Host: GitHub
- URL: https://github.com/gad-ongoro/helm-charts
- Owner: Gad-Ongoro
- Created: 2024-11-10T07:03:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T20:50:12.000Z (7 months ago)
- Last Synced: 2024-11-10T21:31:00.734Z (7 months ago)
- Topics: helm-charts, kubernetes, kubernetes-deployment
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ☸️ GO Helm Chart
This repository contains a Helm chart for deploying **GOFoods Application**. The chart is packaged and hosted on GitHub Pages for easy installation into Kubernetes cluster.
## ☸️ Chart Details
- **Chart Name**: `gochart`
- **Version**: `0.1.0`
- **Description**: A Helm chart for deploying My Application to Kubernetes.## ☸️ Prerequisites 👨💻
- Kubernetes cluster
- [Helm](https://helm.sh/docs/intro/install/) installed
- `kubectl` configured to interact with Kubernetes cluster## ☸️ Get to Speed 🚀⚡🚀
To install this Helm chart, add the GitHub repository as a Helm repository:
```bash
minikube startkubectl config use-context minikube
kubectl create secret generic go-secrets --from-env-file=gofoods.env
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml
helm package
helm package gochart -d ./docs
helm repo index ./docs --url https://Gad-Ongoro.github.io/helm-charts/
helm install
```## if using existing chart:
```bash
helm repo add gocharts https://gad-ongoro.github.io/helm-charts/helm repo update
helm install server gocharts/gochart
```## CI/CD act Test
```bash
export SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)export HELM_TOKEN=(access_token)
act -s HELM_TOKEN -s SSH_PRIVATE_KEY
```if error dial unix /var/run/docker.sock: connect: permission denied:
```bash
$ which act>_ output/.../act
$ sudo output /.../act -s HELM_TOKEN -s SSH_PRIVATE_KEY
```