Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 706 Bytes

04-HelmRelease-with-Git-Repository.md

File metadata and controls

30 lines (22 loc) · 706 Bytes

HelmRelease with Git Repository

With the freshy generated chart generated we can call a HelmRelease via GitRepository:

cd flux-infra
flux create helmrelease result \
  --source=GitRepository/instavote \
  --chart=./deploy/charts/result \
  --target-namespace=instavote \
  --export > clusters/staging/result-staging-helmrelease.yaml

Commit and Upload the changes:

git add clusters/staging
git commit -am "feat: Add Result HelmRelease object"
git push origin HEAD:refs/heads/main

Now the application is complete, you can verify it has been deployed via NodePort or forwarding the service:

kubectl port-forward service/instavote-result 8080:80 &

curl localhost:8080