feat!: Remove charts and config fluxtomizations and include them in the cluster/flux/ dir

This commit is contained in:
Devin Buhl committed 2022-11-29 09:12:24 -05:00
1 parent e19609d308
commit 8f77b5e2b4
34 files changed
+95 -70

No files matched your search

@@ -0,0 +1,54 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: GitRepository
metadata:
name: flux-installation
namespace: flux-system
spec:
interval: 10m
ref:
tag: v0.37.0
url: https://github.com/fluxcd/flux2
ignore: |
# exclude all
/*
# path to manifests
!/manifests
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: flux-installation
namespace: flux-system
spec:
interval: 10m
path: ./manifests/install
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-installation
images:
- name: fluxcd/helm-controller
newName: ghcr.io/fluxcd/helm-controller
- name: fluxcd/image-automation-controller
newName: ghcr.io/fluxcd/image-automation-controller
- name: fluxcd/image-reflector-controller
newName: ghcr.io/fluxcd/image-reflector-controller
- name: fluxcd/kustomize-controller
newName: ghcr.io/fluxcd/kustomize-controller
- name: fluxcd/notification-controller
newName: ghcr.io/fluxcd/notification-controller
- name: fluxcd/source-controller
newName: ghcr.io/fluxcd/source-controller
patches:
- target:
group: networking.k8s.io
version: v1
kind: NetworkPolicy
patch: |-
$patch: delete
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: not-used