Newer
Older
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
# Default values for meep-dai.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
deployment:
replicas: 1
port: 80
protocol: TCP
dependencies:
system:
{{- if not .IsMepService }}
- kube-dns
{{- end }}
namespace:
image:
repository: meep-docker-registry:30001/meep-dai
tag: latest
pullPolicy: Always
env:
MEAS_REP_UE_PERIODIC_TRIGGER_INTERVAL: 1s
NR_MEAS_REP_UE_PERIODIC_TRIGGER_INTERVAL: 1s
MEEP_INSTANCE_ID: {{.InstanceId}}
MEEP_SANDBOX_NAME: {{.SandboxName}}
MEEP_SVC_PATH: /rni/v2
MEEP_HOST_URL: {{.HostUrl}}
{{- if .IsMepService }}
MEEP_MEP_NAME: {{.MepName}}
{{- end }}
{{- if eq .AppEnablement "local" }}
MEEP_APP_ENABLEMENT: {{.MepName}}-meep-app-enablement
{{- else if eq .AppEnablement "global" }}
MEEP_APP_ENABLEMENT: meep-app-enablement
{{- end }}
{{- range .Env}}
{{.}}
{{- end}}
service:
{{- if .IsMepService }}
name: {{.MepName}}-meep-dai
{{- else }}
name: meep-dai
{{- end }}
type: ClusterIP
port: 80
ingress:
enabled: true
hosts:
- name: ''
paths:
{{- if .IsMepService }}
- /{{.SandboxName}}/{{.MepName}}/rni
{{- else }}
- /{{.SandboxName}}/rni
{{- end }}
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/force-ssl-redirect: {{ .HttpsOnly }}
{{- if .IsMepService }}
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^/{{.SandboxName}}/{{.MepName}}/rni(/|$)(.*)$ /rni/$2 break;
{{- else }}
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^/{{.SandboxName}}/rni(/|$)(.*)$ /rni/$2 break;
{{- end }}
{{- if .AuthEnabled }}
nginx.ingress.kubernetes.io/auth-url: https://$http_host/auth/v1/authenticate?svc=meep-dai&sbox={{.SandboxName}}&mep={{.MepName}}
{{- end }}
labels: {}
tls:
prometheus:
monitor:
enabled: true
port: 9000
interval: 10s
additionalLabels: {}
relabelings: []
scrapeTimeout: 5s
codecov:
enabled: false
location: "<WORKDIR>/codecov/meep-dai"
meepOrigin: core