-
Notifications
You must be signed in to change notification settings - Fork 44
/
fleet.yaml
64 lines (64 loc) · 2.07 KB
/
fleet.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
defaultNamespace: cattle-monitoring-system
helm:
releaseName: rancher-monitoring
repo: https://charts.rancher.io
chart: rancher-monitoring
version: 14.5.100
values:
grafana:
additionalDataSources:
- name: "loki"
type: "loki"
url: "http://loki.loki.svc:3100"
prometheusOperator:
prometheusSpec:
resources:
requests:
cpu: 10m
diff:
comparePatches:
- apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
name: rancher-monitoring-admission
operations:
- {"op":"remove", "path":"/webhooks"}
- apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
name: rancher-monitoring-admission
jsonPointers:
- "/webhooks"
- apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
name: rancher-monitoring-admission
operations:
- {"op":"remove", "path":"/webhooks"}
- apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
name: rancher-monitoring-admission
jsonPointers:
- "/webhooks"
- apiVersion: policy/v1beta1
kind: PodSecurityPolicy
operations:
- {"op":"remove", "path":"/spec/hostIPC"}
- {"op":"remove", "path":"/spec/hostNetwork"}
- {"op":"remove", "path":"/spec/hostPID"}
- {"op":"remove", "path":"/spec/privileged"}
- {"op":"remove", "path":"/spec/readOnlyRootFilesystem"}
- apiVersion: apps/v1
kind: Deployment
name: rancher-monitoring-grafana
namespace: cattle-monitoring-system
operations:
- {"op":"remove", "path":"/spec/template/spec/containers/0/env/0/value"}
- apiVersion: apps/v1
kind: Deployment
operations:
- {"op":"remove", "path":"/spec/template/spec/hostNetwork"}
- {"op":"remove", "path":"/spec/template/spec/nodeSelector"}
- {"op":"remove", "path":"/spec/template/spec/priorityClassName"}
- {"op":"remove", "path":"/spec/template/spec/tolerations"}
- apiVersion: v1
kind: ServiceAccount
operations:
- {"op":"remove", "path":"/imagePullSecrets"}