Release: OTS v1.11.0

This commit is contained in:
Knut Ahlers 2023-12-10 13:32:50 +01:00
parent 7c74a7c47c
commit 0ca6e4fc5f
No known key found for this signature in database
GPG key ID: D91C3E91E4CAD6F5
3 changed files with 36 additions and 23 deletions

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