gitops: add Flux helm install method

This commit is contained in:
Guilhem Lettron
2020-04-29 22:04:41 +02:00
parent a772fff88e
commit 66b7d118ba

View File

@@ -106,6 +106,25 @@
---
## Setting up Flux with Helm
- Add Flux helm repo:
```bash
helm repo add fluxcd https://charts.fluxcd.io
```
- Install Flux:
```bash
kubectl create namespace flux
helm upgrade --install flux \
--set git.url=git@github.com:your-git-username/kubercoins \
--set git.branch=prod \
--namespace flux \
fluxcd/flux
```
---
## Allowing Flux to access the repository
- When it starts, Flux generates an SSH key