-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmfile.yaml
140 lines (133 loc) · 5.1 KB
/
helmfile.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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
repositories:
- name: kubernetes-dashboard
url: https://kubernetes.github.io/dashboard/
- name: jetstack
url: https://charts.jetstack.io
- name: prometheus-community
url: https://prometheus-community.github.io/helm-charts
- name: grafana
url: https://grafana.github.io/helm-charts
- name: argo
url: https://argoproj.github.io/argo-helm
- name: ingress-nginx
url: https://kubernetes.github.io/ingress-nginx
releases:
# https://cert-manager.io/docs/installation/kubernetes/#installing-with-helm
- name: cert-manager
namespace: cert-manager
createNamespace: true
chart: jetstack/cert-manager
version: ^1.3.1
values:
- installCRDs: true
# https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx
# Uncomment if your cluster not have ingress-nginx by default
# - name: ingress-nginx
# chart: ingress-nginx/ingress-nginx
# version: ^3.35.0
# https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard
- name: kubernetes-dashboard
namespace: kubernetes-dashboard
createNamespace: true
chart: kubernetes-dashboard/kubernetes-dashboard
version: ^4.5.0
values:
- ingress:
enabled: true
hosts:
- {{ env "K8S_DASHBOARD_HOST" | default "dashboard.k8s.local" }}
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: {{ env "SERTIFICATE_ISSUER" | default "letsencrypt-staging" }}
tls:
- hosts:
- {{ env "K8S_DASHBOARD_HOST" | default "dashboard.k8s.local" }}
secretName: kubernetes-dashboard-tls
- metricsScraper:
enabled: true
- metrics-server:
enabled: true
# https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack
- name: kube-prometheus-stack
namespace: monitoring-logs-trace-stack
createNamespace: true
chart: prometheus-community/kube-prometheus-stack
version: ^17.1.1
values:
# https://github.com/prometheus-community/helm-charts/blob/main/charts/alertmanager/values.yaml
- alertmanager:
enabled: false
config:
receivers:
- name: default-receiver
# https://prometheus.io/docs/alerting/latest/configuration/#receiver
ingress:
enabled: false
ingressClassName: nginx
hosts:
- {{ env "ALERT_MANAGER_HOST" | default "alertmanager.k8s.local" }}
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: {{ env "SERTIFICATE_ISSUER" | default "letsencrypt-staging" }}
tls:
- hosts:
- {{ env "ALERT_MANAGER_HOST" | default "alertmanager.k8s.local" }}
secretName: alertmanager-general-tls
# https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml
- grafana:
enabled: true
adminPassword: {{ env "GRAFANA_PASSSWORD" | default "prom-operator" }}
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: {{ env "SERTIFICATE_ISSUER" | default "letsencrypt-staging" }}
hosts:
- {{ env "GRAFANA_HOST" | default "grafana.k8s.local" }}
tls:
- hosts:
- {{ env "GRAFANA_HOST" | default "grafana.k8s.local" }}
secretName: grafana-general-tls
# https://artifacthub.io/packages/helm/grafana/loki-stack
- name: loki
namespace: monitoring-logs-trace-stack
createNamespace: true
chart: grafana/loki-stack
version: ^2.4.1
values:
- promtail:
enabled: true
- fluent-bit: # can work faster, but plugin for loki not support pod labels
enabled: false
# https://artifacthub.io/packages/helm/grafana/tempo-distributed
- name: tempo
namespace: monitoring-logs-trace-stack
createNamespace: true
chart: grafana/tempo-distributed
version: ^0.9.6
# https://artifacthub.io/packages/helm/argo/argo-cd
- name: argocd
namespace: argocd
createNamespace: true
chart: argo/argo-cd
version: ^3.11.1
values:
- installCRDs: false # for Helm 3 compitability
- server:
extraArgs:
- --insecure # fix for https://github.com/argoproj/argo-cd/issues/2953
ingress:
enabled: true
ingressClassName: nginx
https: true
annotations:
cert-manager.io/cluster-issuer: {{ env "SERTIFICATE_ISSUER" | default "letsencrypt-staging" }}
hosts:
- {{ env "ARGO_HOST" | default "argo.k8s.local" }}
tls:
- hosts:
- {{ env "ARGO_HOST" | default "argo.k8s.local" }}
secretName: argo-general-tls
- configs.secret.githubSecret: {{ env "ARGO_GITHUB_SECRET" | default "" }}
- configs.secret.bitbucketSecret: {{ env "ARGO_BITBUCKET_SECRET" | default "" }}
- configs.secret.gitlabSecret: {{ env "ARGO_GITLAB_SECRET" | default "" }}