From cd8d3da45bd4d89a59377fc2467585c6040ce8a4 Mon Sep 17 00:00:00 2001 From: shodan Date: Fri, 20 Mar 2026 23:12:36 +0000 Subject: [PATCH] . --- nextcloud/redis.yaml | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/nextcloud/redis.yaml b/nextcloud/redis.yaml index 4e7a350..6325efa 100644 --- a/nextcloud/redis.yaml +++ b/nextcloud/redis.yaml @@ -32,29 +32,9 @@ spec: fsGroup: 999 fsGroupChangePolicy: OnRootMismatch - initContainers: - - name: init-redis-data - image: busybox:1.36 - command: - - sh - - -c - - | - set -eu - mkdir -p /mnt/redis-data - chown -R 999:999 /mnt/redis-data - chmod 0770 /mnt/redis-data - volumeMounts: - - name: redis-storage - mountPath: /mnt/redis-data - subPath: redis-data - containers: - name: redis image: redis:7.2-alpine - imagePullPolicy: IfNotPresent - ports: - - containerPort: 6379 - name: redis args: - "--save" - "60" @@ -70,19 +50,11 @@ spec: volumeMounts: - name: redis-storage mountPath: /data - subPath: redis-data - resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: "2" - memory: 1Gi volumes: - name: redis-storage persistentVolumeClaim: - claimName: data + claimName: redis-storage --- apiVersion: v1 kind: Service