40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
---
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- github.com/fluxcd/flux2/manifests/install?ref=v0.38.1
|
|
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:
|
|
- patch: |-
|
|
$patch: delete
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: not-used
|
|
target:
|
|
group: networking.k8s.io
|
|
version: v1
|
|
kind: NetworkPolicy
|
|
- patch: |
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --concurrent=20
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --requeue-dependency=5s
|
|
target:
|
|
kind: Deployment
|
|
name: "(kustomize-controller|helm-controller|source-controller)"
|