File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Secret
3
+ metadata :
4
+ name : countly-tls
5
+ data :
6
+ tls.crt : YOUR_SSL_CERT_IN_BASE64 # cat cert.crt | base64
7
+ tls.key : YOUR_SSL_KEY_IN_BASE64 # cat cert.key | base64
8
+ type : kubernetes.io/tls
9
+ ---
10
+ apiVersion : extensions/v1beta1
11
+ kind : Ingress
12
+ metadata :
13
+ name : countly-ingress
14
+ annotations :
15
+ nginx.ingress.kubernetes.io/rewrite-target : /$1
16
+ spec :
17
+ tls :
18
+ - hosts :
19
+ - YOUR_HOSTNAME # countly.example.com
20
+ secretName : countly-tls
21
+ rules :
22
+ - http :
23
+ paths :
24
+ - backend :
25
+ serviceName : countly-api
26
+ servicePort : 3001
27
+ path : /(i.*)
28
+ - backend :
29
+ serviceName : countly-api
30
+ servicePort : 3001
31
+ path : /(i/.*)
32
+ - backend :
33
+ serviceName : countly-api
34
+ servicePort : 3001
35
+ path : /(o.*)
36
+ - backend :
37
+ serviceName : countly-api
38
+ servicePort : 3001
39
+ path : /(o/.*)
40
+ - backend :
41
+ serviceName : countly-frontend
42
+ servicePort : 6001
43
+ path : /(.*)
44
+ - backend :
45
+ serviceName : countly-frontend
46
+ servicePort : 6001
47
+ path : /(images/.*)
You can’t perform that action at this time.
0 commit comments