-
Notifications
You must be signed in to change notification settings - Fork 67
/
provision.yaml.tpl
64 lines (64 loc) 路 1.56 KB
/
provision.yaml.tpl
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
{{ if eq .installBackend "true" }}---
type: DataStore
spec:
name: {{ .backendType }}
type: {{ .backendType }}{{ if eq .backendType "jaeger" }}
jaeger:
type: jaeger
jaeger:
endpoint: {{ .backendEndpoint }}
tls:
insecure: {{ .backendInsecure }}{{ end}}{{ if eq .backendType "tempo" }}
tempo:
type: tempo
tempo:
type: grpc
grpc:
endpoint: {{ .backendEndpoint }}
tls:
insecure: {{ .backendInsecure }}{{ end}}{{ if eq .backendType "opensearch" }}
opensearch:
type: opensearch
opensearch:
addresses: {{ .backendAddresses }}
index: {{ .backendIndex }}{{ end}}{{ if eq .backendType "signalfx" }}
signalfx:
type: signalfx
signalfx:
token: {{ .backendToken }}
realm: {{ .backendRealm }}{{ end}}{{ if eq .backendType "otlp" }}
otlp:
type: otlp{{ end}}{{ end}}
---
type: Config
spec:
analyticsEnabled: {{ .analyticsEnabled }}
---
type: PollingProfile
spec:
name: Custom Profile
strategy: periodic
default: true
periodic:
timeout: 2m
retryDelay: 3s
{{ if eq .enablePokeshopDemo "true" }}---
type: Demo
spec:
name: pokeshop
type: pokeshop
enabled: true
pokeshop:
httpEndpoint: {{ .pokeshopHttp }}
grpcEndpoint: {{ .pokeshopGrpc }}{{end}}{{ if eq .enableOtelDemo "true" }}
---
type: Demo
spec:
name: otel
type: otelstore
enabled: true
opentelemetryStore:
frontendEndpoint: {{ .otelFrontend }}
productCatalogEndpoint: {{ .otelProductCatalog }}
cartEndpoint: {{ .otelCart }}
checkoutEndpoint: {{ .otelCheckout }}{{end}}