Release: OTS v1.11.0

This commit is contained in:
Knut Ahlers 2023-12-10 13:32:50 +01:00
parent 7c74a7c47c
commit 0ca6e4fc5f
Signed by: luzifer
GPG Key ID: D91C3E91E4CAD6F5
3 changed files with 36 additions and 23 deletions

View File

@ -1,3 +1,20 @@
# 1.11.0 / 2023-12-10
* Improvements
* [#148] Make secret optional when files are attached (#150)
* [#149] Make attachments stand out more (#152)
* [#154] Add debug logging for rejected attachment types & strip meta-info from mime-type (#155)
* [#154] Improve UX for rejected / allowed files
* Bugfixes
* [client] Fix wrong method when creating secrets
* Fix: Baked in version-string empty in build-local
* Update dependencies
* Translations
* Add tool to update translations in PRs
* Update Chinese translations (#151) (Thanks @YongJie-Xie)
# 1.10.0 / 2023-11-11
* New Features

View File

@ -1,24 +1,22 @@
version: '3.8'
version: "3.8"
services:
app:
build:
context: https://github.com/Luzifer/ots.git#v1.8.0
context: https://github.com/Luzifer/ots.git#v1.11.0
restart: always
environment:
# Optional, see "Customization" in README
#CUSTOMIZE: '/etc/ots/customize.yaml'
# See README for details
REDIS_URL: 'redis://redis:6379/0'
REDIS_URL: redis://redis:6379/0
# 168h = 1w
SECRET_EXPIRY: '604800'
SECRET_EXPIRY: "604800"
# "mem" or "redis" (See README)
STORAGE_TYPE: 'redis'
STORAGE_TYPE: redis
depends_on:
- redis
ports:
- 3000:3000
redis:
image: redis:alpine
restart: always

View File

@ -9,7 +9,6 @@ spec:
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
@ -37,7 +36,7 @@ spec:
claimName: ots-redis
containers:
- name: leader
image: "docker.io/redis:6.2.5-alpine"
image: docker.io/redis:6.2.5-alpine
resources:
requests:
cpu: 100m
@ -45,7 +44,7 @@ spec:
ports:
- containerPort: 6379
volumeMounts:
- mountPath: "/data"
- mountPath: /data
name: redis-storage
livenessProbe:
tcpSocket:
@ -57,7 +56,6 @@ spec:
- redis-cli
- ping
initialDelaySeconds: 5
---
apiVersion: v1
kind: Service
@ -75,19 +73,17 @@ spec:
app: ots-redis
role: leader
tier: backend
---
apiVersion: "v1"
kind: "ConfigMap"
apiVersion: v1
kind: ConfigMap
metadata:
name: "ots-customize"
name: ots-customize
data:
customize.yml: |
appTitle: "My very customized OTS"
disableQRSupport: true
maxAttachmentSizeTotal: 1048576
maxSecretSize: 2097152
---
apiVersion: apps/v1
kind: Deployment
@ -111,17 +107,21 @@ spec:
name: ots-cutomize
containers:
- name: ots
image: "luzifer/ots:v1.10.0"
args: ["--storage-type", "redis", "--customize", "/custom/customize.yml"]
image: luzifer/ots:v1.11.0
args:
- --storage-type
- redis
- --customize
- /custom/customize.yml
env:
- name: REDIS_URL
value: "tcp://ots-redis:6379"
value: tcp://ots-redis:6379
- name: REDIS_KEY
value: "ots"
value: ots
- name: SECRET_EXPIRY
value: "172800"
volumeMounts:
- mountPath: "/custom"
- mountPath: /custom
name: custom
resources:
requests:
@ -134,7 +134,6 @@ spec:
path: /
port: 3000
initialDelaySeconds: 5
---
apiVersion: v1
kind: Service
@ -150,7 +149,6 @@ spec:
selector:
app: ots
tier: frontend
---
apiVersion: networking.k8s.io/v1
kind: Ingress