new gitops template

This commit is contained in:
auricom
2021-04-13 10:34:08 +02:00
parent 67c4d6a855
commit a95f32b44d
335 changed files with 3131 additions and 3650 deletions

49
docs/flux.md Normal file
View File

@@ -0,0 +1,49 @@
# Flux
## Install the CLI tool
```sh
brew install fluxcd/tap/flux
```
## Install the cluster components
_For full installation guide visit the [Flux installation guide](https://toolkit.fluxcd.io/guides/installation/)_
Check if you cluster is ready for Flux
```sh
flux check --pre
```
Install Flux into your cluster
```sh
flux bootstrap github \
--owner=auricom \
--repository=home-cluster \
--path=cluster/base \
--personal \
--private=false \
--network-policy=false
```
## Useful commands
Force flux to sync your repository:
```sh
flux reconcile source git flux-system
```
Force flux to sync a helm release:
```sh
flux reconcile helmrelease sonarr -n default
```
Force flux to sync a helm repository:
```sh
flux reconcile source helm ingress-nginx-charts -n flux-system
```