fluxcd: add flux system reconciliation
This commit is contained in:
@@ -1,32 +1,2 @@
|
||||
# fluxcd-system
|
||||
|
||||
## Setup
|
||||
|
||||
⚠️ **Note**
|
||||
Do not use helm upgrade --install for the Flux Operator.
|
||||
Operators mutate their own resources, so Helm cannot reconcile them.
|
||||
Use helm upgrade or uninstall + install instead.
|
||||
|
||||
### Install operator
|
||||
|
||||
``` bash
|
||||
helm install flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator \
|
||||
--namespace flux-system \
|
||||
--create-namespace
|
||||
```
|
||||
|
||||
### Update operator and flux system
|
||||
|
||||
``` bash
|
||||
helm upgrade flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator \
|
||||
--namespace flux-system \
|
||||
--create-namespace
|
||||
kubectl apply -f ./deploy/fluxsystem.yaml
|
||||
```
|
||||
|
||||
**Allow prometheus scrapping:**
|
||||
|
||||
```bash
|
||||
kubectl apply -f deploy/monitoring.yaml
|
||||
kubectl label ns flux-system prometheus-monitoring=enabled
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user