-
Notifications
You must be signed in to change notification settings - Fork 199
Expand file tree
/
Copy pathrelease.flux.yaml
More file actions
100 lines (100 loc) · 2.78 KB
/
release.flux.yaml
File metadata and controls
100 lines (100 loc) · 2.78 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: kube-prometheus-stack
namespace: flux-system
spec:
serviceAccountName: kustomize-controller
interval: 30s
timeout: 10m
targetNamespace: monitoring-system
releaseName: "kube-prometheus-stack"
chart:
spec:
chart: kube-prometheus-stack
version: "81.3.0"
sourceRef:
kind: HelmRepository
name: kube-prometheus-stack
interval: 24h
install:
createNamespace: true
remediation:
retries: -1
upgrade:
remediation:
remediateLastFailure: true
retries: -1
driftDetection:
mode: enabled
values:
grafana:
additionalDataSources:
- name: Pyroscope
type: grafana-pyroscope-datasource
uid: pyroscope
url: http://pyroscope.{{ $.Release.Namespace }}.svc.cluster.local.:4040/
adminPassword: admin
global:
dnsService: "kube-dns"
dnsNamespace: "kube-system"
assertNoLeakedSecrets: false
deploymentStrategy:
type: Recreate
persistence:
enabled: false
initChownData:
enabled: false
plugins:
- grafana-llm-app
- grafana-resourcesexporter-app
- grafana-pyroscope-app
- grafana-exploretraces-app
env:
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
GF_DIAGNOSTICS_PROFILING_ENABLED: "true"
GF_DIAGNOSTICS_PROFILING_ADDR: "0.0.0.0"
GF_DIAGNOSTICS_PROFILING_PORT: "9094"
sidecar:
enableUniqueFilenames: true
datasources:
enabled: true
dashboards:
enabled: true
folderAnnotation: "k8s-sidecar-target-directory"
annotations:
k8s-sidecar-target-directory: /tmp/dashboards/Kube Prometheus Stack
provider:
foldersFromFilesStructure: true
# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/
grafana.ini:
analytics:
reporting_enabled: false
check_for_updates: false
check_for_plugin_updates: false
security:
disable_gravatar: true
cookie_secure: true
cookie_samesite: lax
strict_transport_security: true
strict_transport_security_preload: true
strict_transport_security_subdomains: true
content_security_policy: true
auth:
disable_login_form: false
users:
allow_sign_up: true
auto_assign_org: true
server:
root_url: "http://localhost:9090"
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: kube-prometheus-stack
namespace: flux-system
spec:
interval: 24h0m0s
url: https://prometheus-community.github.io/helm-charts