add fluxcd
Monitoring services CI/CD Pipeline / deploy (push) Successful in 18s
Deploy Casa services CI/CD Pipeline / deploy (push) Successful in 19s
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:
@@ -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
|
||||
Reference in New Issue
Block a user