-
Notifications
You must be signed in to change notification settings - Fork 1
/
kustomization.yaml
50 lines (50 loc) · 1.2 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
patches:
- patch: |
apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-controller
namespace: flux-system
spec:
template:
spec:
containers:
- name: manager
args:
- --events-addr=http://notification-controller.flux-system.svc.cluster.local./
- --watch-all-namespaces=true
- --log-level=debug
- --log-encoding=json
- --enable-leader-election
- --feature-gates=DetectDrift=True
target:
kind: Deployment
name: "helm-controller"
patchesStrategicMerge:
# - gotk-patches.yaml
- |-
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-egress
namespace: flux-system
$patch: delete
- |-
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-scraping
namespace: flux-system
$patch: delete
- |-
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-webhooks
namespace: flux-system
$patch: delete