-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathvalues.yaml
More file actions
132 lines (130 loc) · 3.96 KB
/
values.yaml
File metadata and controls
132 lines (130 loc) · 3.96 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# -- The overall namespace for the application
namespace: love
image:
# -- The NGINX image to use
repository: nginx
# -- The tag to use for the NGINX image
tag: 1.29.7
# -- The pull policy on the NGINX image
pullPolicy: IfNotPresent
# -- Service type specification
serviceType: ClusterIP
ports:
# -- Container port for the NGINX service
container: 80
# -- Node port for the NGINX service
node: 30000
ingress:
# -- Hostname for the NGINX ingress
hostname: love.local
# -- Path name associated with the NGINX ingress
httpPath: /
# -- Set the Kubernetes path type for the NGINX ingress
pathType: ""
# -- Assign the Ingress class name
className: nginx
# -- Annotations for the NGINX ingress
annotations: {}
# -- Configuration specification for the NGINX service
nginxConfig: |
server {
listen 80;
server_name localhost;
location / {
root /usr/src/love-frontend;
try_files $uri$args $uri$args/ $uri/ /index.html;
}
location /manager {
proxy_pass http://love-manager-service:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_redirect off;
}
location /manager/static {
alias /usr/src/love-manager/static;
}
location /manager/media {
alias /usr/src/love-manager/media;
}
}
# -- Configurations specifications for the LOVE service.
# These will be used to create the love-conf ConfigMap.
loveConfigs:
- name: default
config: |
{
"alarms": {
"minSeveritySound": "serious",
"minSeverityNotification": "warning"
},
"camFeeds": {
"generic": "/gencam",
"allSky": "/gencam"
}
}
- name: all-alarms
config: |
{
"alarms": {
"minSeveritySound": "warning",
"minSeverityNotification": "warning"
},
"camFeeds": {
"generic": "/gencam",
"allSky": "/gencam"
}
}
- name: no-alarms
config: |
{
"alarms": {
"minSeveritySound": "mute",
"minSeverityNotification": "mute"
},
"camFeeds": {
"generic": "/gencam",
"allSky": "/gencam"
}
}
# -- The list of pull secrets needed for the images.
# If this section is used, each object listed can have the following attributes defined:
# _name_ (The label identifying the pull-secret to use)
imagePullSecrets: []
initContainers:
frontend:
image:
# -- The frontend image to use
repository: lsstts/love-frontend
# -- (int) The cycle revision to add to the image tag
revision:
# -- The pull policy to use for the frontend image
pullPolicy: IfNotPresent
manager:
image:
# -- The static love-manager content image to use
repository: lsstts/love-manager
# -- (int) The cycle revision to add to the image tag
revision:
# -- The pull policy to use for the love-manager static content image
pullPolicy: IfNotPresent
# -- The command to execute for the love-manager static content
command: ["/bin/sh", "-c", "mkdir -p /usr/src/love-manager/media/thumbnails; mkdir -p /usr/src/love-manager/media/configs; cp -Rv /usr/src/love/manager/static /usr/src/love-manager; cp -uv /usr/src/love/manager/ui_framework/fixtures/thumbnails/* /usr/src/love-manager/media/thumbnails; cp -uv /usr/src/love/manager/api/fixtures/configs/* /usr/src/love-manager/media/configs"]
staticStore:
# -- Label for the NGINX static store
name: love-nginx-static
# -- The storage class to request the disk allocation from
storageClass: local-store
# -- The access mode for the NGINX static store
accessMode: ReadWriteMany
# -- The size of the NGINX static store request
claimSize: 2Gi
# -- Resource specifications for the NGINX pod
resources: {}
# -- Node selection rules for the NGINX pod
nodeSelector: {}
# -- Toleration specifications for the NGINX pod
tolerations: []
# -- Affinity rules for the NGINX pod
affinity: {}