Skip to content

Commit 123f8d3

Browse files
authored
Merge e0e9f35 into ba53bd7
2 parents ba53bd7 + e0e9f35 commit 123f8d3

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

.env-dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SERVER_STATUS_SCHEDULE=*/30 * * * *
7474
SERVER_STATUS_PROXY=
7575
SERVER_STATUS_TIMEOUT=5000
7676

77-
# This doesn't work yet (ask sviny)
78-
#LOGO_OMSK_IMG=ogol.png
79-
#LOGO_IMG=logo.png
80-
#LOGO_ALT=1chan
77+
# Force update files on client side
78+
CSS_VERSION=?1
79+
JS_VERSION=?1
80+
ICONS_VERSION=?1

docker-compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ services:
4242
SEARCHD_READ_TIMEOUT: "5"
4343
SEARCHD_MAX_CHILDREN: "30"
4444
SEARCHD_PID_FILE: "searchd.pid"
45-
CSS_VERSION: "?1"
46-
JS_VERSION: "?1"
47-
ICONS_VERSION: "?1"
4845
ports:
4946
- "80:80"
5047
volumes:

k8s/.env-dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SERVER_STATUS_SCHEDULE=*/30 * * * *
7474
SERVER_STATUS_PROXY=
7575
SERVER_STATUS_TIMEOUT=5000
7676

77-
# This doesn't work yet (ask sviny)
78-
#LOGO_OMSK_IMG=ogol.png
79-
#LOGO_IMG=logo.png
80-
#LOGO_ALT=1chan
77+
# Force update files on client side
78+
CSS_VERSION=?1
79+
JS_VERSION=?1
80+
ICONS_VERSION=?1

k8s/helm/charts/1chan/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: 1chan
3-
version: 0.1.2
3+
version: 0.1.3
44
appVersion: "1.0.0"
55
description: 1chan k8s helm chart.
66
home: https://github.com/katzterd/1chan

k8s/helm/charts/1chan/templates/1chan-deployment.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,18 @@ items:
8181
- name: SEARCHD_PID_FILE
8282
value: "searchd.pid"
8383
- name: CSS_VERSION
84-
value: "?1"
84+
secretKeyRef:
85+
key: CSS_VERSION
86+
name: {{ include "SecretsName" . }}
8587
- name: JS_VERSION
86-
value: "?1"
88+
valueFrom:
89+
secretKeyRef:
90+
key: JS_VERSION
91+
name: {{ include "SecretsName" . }}
8792
- name: ICONS_VERSION
88-
value: "?1"
93+
secretKeyRef:
94+
key: ICONS_VERSION
95+
name: {{ include "SecretsName" . }}
8996
- name: ADMIN_LOGIN
9097
valueFrom:
9198
secretKeyRef:

0 commit comments

Comments
 (0)