2024-04-21 05:52:41 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
|
|
|
name: shlink
|
|
|
|
namespace: shlink
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: shlink
|
|
|
|
serviceName: shlink
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: shlink
|
|
|
|
spec:
|
2024-08-02 20:59:14 +00:00
|
|
|
securityContext:
|
|
|
|
fsGroup: 1001
|
|
|
|
fsGroupChangePolicy: "OnRootMismatch"
|
2024-04-21 05:52:41 +00:00
|
|
|
containers:
|
2024-11-24 14:01:56 +00:00
|
|
|
- image: ghcr.io/shlinkio/shlink:4.3.0
|
2024-04-21 05:52:41 +00:00
|
|
|
name: shlink
|
|
|
|
resources: {}
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
containerPort: 8080
|
2024-07-18 07:42:20 +00:00
|
|
|
env:
|
|
|
|
- name: DEFAULT_DOMAIN
|
|
|
|
value: s.janky.bot
|
|
|
|
- name: IS_HTTPS_ENABLED
|
|
|
|
value: "true"
|
|
|
|
- name: DISABLE_TRACKING
|
|
|
|
value: "true"
|
|
|
|
- name: RR_NUM_WORKERS
|
|
|
|
value: "2"
|
2024-04-21 05:52:41 +00:00
|
|
|
volumeMounts:
|
|
|
|
- name: storage
|
|
|
|
mountPath: /etc/shlink/data
|
|
|
|
volumeClaimTemplates:
|
|
|
|
- metadata:
|
|
|
|
name: storage
|
|
|
|
spec:
|
|
|
|
accessModes: ["ReadWriteOnce"]
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 1Gi
|