infisical: bring self-hosted stack under GitOps (postgres, valkey, backend); secret.yaml excluded template

This commit is contained in:
2026-07-16 21:47:28 +02:00
parent 1d026f8d57
commit 37737670b5
11 changed files with 248 additions and 30 deletions

View File

@@ -0,0 +1,40 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: infisical-valkey
namespace: infisical
spec:
serviceName: infisical-valkey
replicas: 1
selector:
matchLabels:
app: infisical-valkey
template:
metadata:
labels:
app: infisical-valkey
spec:
containers:
- name: valkey
# Valkey is a drop-in, Redis-protocol-compatible replacement for Redis.
image: valkey/valkey:8-alpine
args: ["--appendonly", "yes"]
ports:
- containerPort: 6379
volumeMounts:
- name: data
mountPath: /data
readinessProbe:
exec:
command: ["valkey-cli", "ping"]
initialDelaySeconds: 5
periodSeconds: 10
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
storageClassName: longhorn
resources:
requests:
storage: 1Gi