2024-05-04 01:26:26 +00:00
|
|
|
# IMPORTANT: This file is not tracked by flux and should never be. Its
|
|
|
|
# purpose is to only install the Flux components & CRDs into your cluster.
|
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
resources:
|
2024-05-13 15:37:45 +00:00
|
|
|
- github.com/fluxcd/flux2/manifests/install?ref=v2.3.0
|
2024-05-04 01:26:26 +00:00
|
|
|
patches:
|
|
|
|
# Resources renamed to match those installed by oci://ghcr.io/fluxcd/flux-manifests
|
|
|
|
- target:
|
|
|
|
kind: ResourceQuota
|
|
|
|
name: critical-pods
|
|
|
|
patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: critical-pods-flux-system
|
|
|
|
- target:
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
name: cluster-reconciler
|
|
|
|
patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: cluster-reconciler-flux-system
|
|
|
|
- target:
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
name: crd-controller
|
|
|
|
patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: crd-controller-flux-system
|
|
|
|
- target:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: crd-controller
|
|
|
|
patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: crd-controller-flux-system
|
|
|
|
- target:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: flux-edit
|
|
|
|
patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: flux-edit-flux-system
|
|
|
|
- target:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: flux-view
|
|
|
|
patch: |
|
|
|
|
- op: replace
|
|
|
|
path: /metadata/name
|
|
|
|
value: flux-view-flux-system
|