Reorganized for new stable/waypoint versioning design.

This commit is contained in:
2026-05-24 18:28:47 +00:00
parent 945d2225a2
commit bc7a168851
352 changed files with 1264 additions and 294 deletions

View File

@@ -0,0 +1,17 @@
# Redis
Redis is an open-source, in-memory data structure store used as a database, cache, and message broker. This deploys a shared Redis instance used by apps that require it.
## Dependencies
None. Redis is a standalone infrastructure service.
## Configuration
Key settings configured through your instance's `config.yaml`:
- **port** - Service port (default: `6379`)
## Usage
Apps that depend on Redis (such as Immich, Mastodon, Discourse, and others) will connect to it automatically at `redis.redis.svc.cluster.local:6379`. Authentication is managed through the secrets system.

View File

@@ -0,0 +1,31 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-deployment
spec:
selector:
matchLabels:
app: redis
replicas: 1
template:
metadata:
labels:
app: redis
spec:
containers:
- image: "redis:alpine"
name: redis
ports:
- containerPort: 6379
env:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: redis-secrets
key: password
command:
- redis-server
- --requirepass
- $(REDIS_PASSWORD)
restartPolicy: Always

View File

@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: redis
labels:
- includeSelectors: true
pairs:
app: redis
managedBy: kustomize
partOf: wild-cloud
resources:
- deployment.yaml
- namespace.yaml
- service.yaml

View File

@@ -0,0 +1,8 @@
version: 1.0.0-1
defaultConfig:
namespace: redis
host: redis.redis.svc.cluster.local
port: 6379
uri: redis://{{ .app.host }}:{{ .app.port }}/0
defaultSecrets:
- key: password

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: {{ .namespace }}

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: redis
labels:
app: redis
spec:
ports:
- port: 6379
targetPort: 6379
selector:
app: redis