Commit bc69aeda authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Update kubernetes deployment to match new image content

instance is now named "instance"
parent 170b443aff9f
......@@ -7,7 +7,7 @@ data:
default.conf: |
server {
listen 8000 default_server;
root /etc/cubicweb.d/intranet/data;
root /etc/cubicweb.d/instance/data;
rewrite ^/intra/(.*) /$1 last;
location / {
......@@ -23,7 +23,7 @@ data:
}
location /data {
alias /etc/cubicweb.d/intranet/data;
alias /etc/cubicweb.d/instance/data;
expires 30d;
}
}
......@@ -59,7 +59,7 @@ spec:
name: intranet-env
volumeMounts:
- name: static
mountPath: /etc/cubicweb.d/intranet/data
mountPath: /etc/cubicweb.d/instance/data
resources:
requests:
cpu: 500m
......@@ -74,7 +74,7 @@ spec:
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
- name: static
mountPath: /etc/cubicweb.d/intranet/data
mountPath: /etc/cubicweb.d/instance/data
resources:
requests:
cpu: 100m
......@@ -116,7 +116,7 @@ spec:
envFrom:
- secretRef:
name: intranet-env
command: ["cubicweb-ctl", "scheduler", "intranet"]
command: ["cubicweb-ctl", "scheduler", "instance"]
resources:
requests:
cpu: 100m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment