helmfile.yaml
1.95 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
environments:
default:
values:
- namespace: logging
namePrefix: ""
kibana:
oauth:
enabled: false
authUrl: ""
tokenUrl: ""
userinfoUrl: ""
clientId: ""
clientSecret: ""
virtualService:
enabled: true
jsonPatches: []
strategicMergePatches: []
gateways:
- default/cluster-local-gateway
vhost: kibana-logging.local
repositories:
---
releases:
- name: fluentd-eck
chart: ./charts/eck
namespace: {{ .Values.namespace }}
values:
- set-common-values.yaml.gotmpl
jsonPatches:
{{- if .Values.kibana.virtualService.enabled }}
- target:
kind: VirtualService
name: {{ .Values.namePrefix }}kibana
namespace: {{ .Values.namespace }}
version: v1beta3
group: networking.istio.io
patch:
- op: replace
path: /spec/http/0/route/0/destination/host
value: {{ .Values.namePrefix }}kibana
{{- end }}
{{- if not (empty (.Values.kibana.virtualService.jsonPatches)) }}
{{- .Values.kibana.virtualService.jsonPatches | toYaml | indent 6 }}
{{- end }}
strategicMergePatches:
- apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: {{ .Values.namePrefix }}kibana
namespace: {{ .Values.namespace }}
{{- if .Values.kibana.virtualService.enabled }}
spec:
hosts:
- {{ .Values.kibana.virtualService.vhost }}
gateways:
{{- range $gateway_index, $gateway := .Values.kibana.virtualService.gateways }}
- {{ $gateway | quote }}
{{- end }}
{{- else }}
$patch: delete
{{- end }}
- name: fluentd
chart: ./charts/fluentd
namespace: {{ .Values.namespace }}
values:
- set-common-values.yaml.gotmpl