This repository contains CRDs from popular operators for Kubernetes installed via Flux2. All CRDs are moved to this repository, since Flux2 cannot install a product and custom resource if the CRD is not yet available.
You will need a Kubernetes cluster version 1.21 or newer with installed Flux
Create GitRepository and Flux Kustomization in you main repository:
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: fluxcd-gitops-crds
namespace: flux-system
spec:
interval: 10m
ref:
branch: main
secretRef:
name: flux-system
url: https://github.com/brainfair/awesome-flux-crds.git
ignore: |
# exclude README.md
/README.md
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: fluxcd-gitops-crds
namespace: flux-system
spec:
interval: 10m
path: ./
prune: true
sourceRef:
kind: GitRepository
name: fluxcd-gitops-crds
The Git repository contains the following top directories:
- crds dir contains CRDs folder with various installation method depends on product
- bundles (optionally) you can create bundles folder with bundle specific set of CRDs for EKS/AKS/etc
├── crds
│ ├── cert-manager
│ ├── istio
│ ├── Prometheus
| ├── ...
│ └── VictoriaMetrics
└── bundles
├── eks
└── aks
Next CRDs available in the example:
- cert-manager
- cloudnative-pg
- elastic-eck
- external-secrets
- istio
- k8ssandra-operator
- metallb
- Prometheus
- strimzi
- VictoriaMetrics