-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s-google-home-voicetext-server.yml
71 lines (71 loc) · 1.54 KB
/
k8s-google-home-voicetext-server.yml
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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: google-home-voicetext-server
spec:
selector:
matchLabels:
app: google-home-voicetext-server
template:
metadata:
labels:
app: google-home-voicetext-server
spec:
containers:
- name: google-home-voicetext-server
image: vet5lqplpecmpnqb/google-home-voicetext-server
resources:
limits:
memory: "128Mi"
cpu: "500m"
envFrom:
- configMapRef:
name: google-home-voicetext-server
env:
- name: VOICETEXT_API_KEY
valueFrom:
secretKeyRef:
name: google-home-voicetext-server
key: VOICETEXT_API_KEY
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: google-home-voicetext-server
spec:
selector:
app: google-home-voicetext-server
ports:
- name: server
protocol: TCP
port: 80
targetPort: 80
type: LoadBalancer
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: google-home-voicetext-server
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: google-home-voicetext-server
servicePort: 80
---
apiVersion: v1
kind: ConfigMap
metadata:
name: google-home-voicetext-server
data:
TZ: JST-9
LISTEN_INTERFACE: 'eth0'
LISTEN_PORT: '80'
VOICETEXT_SPEAKER: 'HIKARI'
VOICETEXT_EMOTION: 'HAPPINESS'
VOICETEXT_EMOTION_LEVEL: 'HIGH'