add fluxcd
Monitoring services CI/CD Pipeline / deploy (push) Successful in 18s
Deploy Casa services CI/CD Pipeline / deploy (push) Successful in 19s

This commit is contained in:
Márcio Fernandes
2026-05-29 21:15:42 +00:00
parent a88ff50fc2
commit d7e2b6549c
2 changed files with 51 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# 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
```
@@ -0,0 +1,26 @@
apiVersion: fluxcd.controlplane.io/v1
kind: FluxInstance
metadata:
name: flux
namespace: flux-system
annotations:
fluxcd.controlplane.io/reconcileEvery: "1h"
fluxcd.controlplane.io/reconcileTimeout: "10m"
spec:
distribution:
version: "2.x"
registry: "ghcr.io/fluxcd"
artifact: "oci://ghcr.io/controlplaneio-fluxcd/flux-operator-manifests"
components:
- source-controller
- source-watcher
- kustomize-controller
- helm-controller
- notification-controller
- image-reflector-controller
- image-automation-controller
cluster:
type: kubernetes
size: medium
multitenant: false
networkPolicy: true