From a45bdb1d9742ae23f71757df38142eee457fd34a Mon Sep 17 00:00:00 2001 From: afreyermuth98 Date: Thu, 17 Aug 2023 11:57:25 +0200 Subject: [PATCH] :wrench: Redis replica --- README.md | 1 + templates/redis/statefulset.yaml | 2 +- values.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9590b5b3..1b9614673 100644 --- a/README.md +++ b/README.md @@ -327,6 +327,7 @@ The following table lists the configurable parameters of the Harbor chart and th | `redis.internal.image.tag` | Tag for redis image | `dev` | | `redis.internal.resources` | The [resources] to allocate for container | undefined | | `redis.internal.automountServiceAccountToken` | Mount serviceAccountToken? | `false` | +| `redis.internal.replicas ` | The replica count assignment | `1` | | `redis.internal.nodeSelector` | Node labels for pod assignment | `{}` | | `redis.internal.tolerations` | Tolerations for pod assignment | `[]` | | `redis.internal.affinity` | Node/Pod affinities | `{}` | diff --git a/templates/redis/statefulset.yaml b/templates/redis/statefulset.yaml index 371b0fd5a..f49e51012 100644 --- a/templates/redis/statefulset.yaml +++ b/templates/redis/statefulset.yaml @@ -8,7 +8,7 @@ metadata: {{ include "harbor.labels" . | indent 4 }} component: redis spec: - replicas: 1 + replicas: {{ .Values.nginx.internal.replicas }} serviceName: {{ template "harbor.redis" . }} selector: matchLabels: diff --git a/values.yaml b/values.yaml index 96a49e24d..e0ea8df5a 100644 --- a/values.yaml +++ b/values.yaml @@ -759,6 +759,7 @@ redis: serviceAccountName: "" # mount the service account token automountServiceAccountToken: false + replicas: 1 image: repository: goharbor/redis-photon tag: dev