Update image location for k8s changes

This commit is contained in:
斟酌 鵬兄 2021-09-05 22:02:29 +08:00
parent 3fe92f03d6
commit c631b194c4
8 changed files with 21 additions and 17 deletions

View File

@ -96,7 +96,7 @@
}
.asl_smask[expand] {
background-image: url(/assets/layout-images/collapse.png);
background-image: url(/assets/blog/layout-images/collapse.png);
background-position: center 2.5px;
background-repeat: no-repeat;
}

View File

@ -18,7 +18,7 @@
var sound = function (insertSnippet, snippetWrap, createContext, override)
{
var temp, i, j
, defaultArt = "/assets/layout-images/disc_s.png"
, defaultArt = "/assets/blog/layout-images/disc_s.png"
, handler = function ()
{
// Input fields

View File

@ -221,7 +221,7 @@
}
.ae_expand_btn, .ae_callapse_btn {
background: url(/assets/layout-images/collapse.png) center 2.5px no-repeat;
background: url(/assets/blog/layout-images/collapse.png) center 2.5px no-repeat;
width: 100%;
height: 10px;
}

View File

@ -113,7 +113,7 @@
padding: 0em 0.2em;
width: 2em; height: 2em;
background: #333 url(/assets/layout-images/settings.png) no-repeat center center;
background: #333 url(/assets/blog/layout-images/settings.png) no-repeat center center;
background-size: 1.5em 1.5em;
}

View File

@ -58,9 +58,9 @@ html, body { height: 100%; }
height: 90px;
}
.c401 { background: url(/assets/layout-images/errorcodes.png) 0 0; }
.c403 { background: url(/assets/layout-images/errorcodes.png) 200px 0; }
.c404 { background: url(/assets/layout-images/errorcodes.png) 0 90px; }
.c401 { background: url(/assets/blog/layout-images/errorcodes.png) 0 0; }
.c403 { background: url(/assets/blog/layout-images/errorcodes.png) 200px 0; }
.c404 { background: url(/assets/blog/layout-images/errorcodes.png) 0 90px; }
.b401 { background: cornflowerblue; }
.b403 { background: crimson; }
@ -89,7 +89,7 @@ html, body { height: 100%; }
margin-left: -200px;
margin-top: -200px;
background: url(/assets/layout-images/ring.png) center center no-repeat;
background: url(/assets/blog/layout-images/ring.png) center center no-repeat;
}

View File

@ -1,6 +1,6 @@
footer {
background-color: #222;
background-image: url(/assets/layout-images/lines.png);
background-image: url(/assets/blog/layout-images/lines.png);
background-repeat: no-repeat;
background-position: right bottom;
}

View File

@ -158,7 +158,7 @@ header {
left: 0;
width: 100%;
height: 100%;
background:url(/assets/layout-images/collapse.png) center 2.5px no-repeat;
background:url(/assets/blog/layout-images/collapse.png) center 2.5px no-repeat;
}
#collapse_panel:hover {

View File

@ -19,7 +19,7 @@ spec:
path: /srv/astrostorage
containers:
- name: web
image: 192.168.80.4:32000/sites/astrojs:b00031
image: 192.168.80.4:32000/sites/astrojs:b00032
volumeMounts:
- mountPath: "/app/cache"
name: astrojs-cache
@ -33,7 +33,7 @@ spec:
- name: redis
image: redis:6.0.8-alpine
- name: compiler
image: 192.168.80.4:32000/sites/astrojs:b00031
image: 192.168.80.4:32000/sites/astrojs:b00032
volumeMounts:
- mountPath: "/app/cache"
name: astrojs-cache
@ -56,15 +56,19 @@ spec:
---
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: astrojs
spec:
rules:
- host: botanjs.botanical.astropenguin.net
- host: botanjs.astropenguin.net
http:
paths:
- backend:
serviceName: astrojs
servicePort: 5000
- path: "/"
pathType: Prefix
backend:
service:
name: astrojs
port:
number: 5000