diff --git a/dev-upgrade/redis/redis-stack-dev.yaml b/dev-upgrade/redis/redis-stack-dev.yaml index c3a86a7..1608ae4 100644 --- a/dev-upgrade/redis/redis-stack-dev.yaml +++ b/dev-upgrade/redis/redis-stack-dev.yaml @@ -1,25 +1,3 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: redis-stack-config - labels: - app: redis-stack -data: - redis-stack.conf: |- - dir /srv - port 6379 - bind 0.0.0.0 - appendonly yes - daemonize no - requirepass beaconfire@123 - pidfile /srv/redis-6379.pid - loadmodule /opt/redis-stack/lib/redisearch.so - loadmodule /opt/redis-stack/lib/redistimeseries.so - loadmodule /opt/redis-stack/lib/rejson.so - loadmodule /opt/redis-stack/lib/redisbloom.so - loadmodule /opt/redis-stack/lib/redisgears.so v8-plugin-path /opt/redis-stack/lib/libredisgears_v8_plugin.so - --- apiVersion: apps/v1 kind: Deployment @@ -48,7 +26,11 @@ spec: - name: redis-stack image: redis/redis-stack-server:7.2.0-v0 ports: - - containerPort: 6379 + - protocol: TCP + containerPort: 8080 + env: + - name: "REDIS_ARGS" + value: "--requirepass beaconfire@123" resources: limits: cpu: 1