Skip to content

Commit

Permalink
🔧 Redis replica
Browse files Browse the repository at this point in the history
  • Loading branch information
afreyermuth98 committed Aug 17, 2023
1 parent 43180f0 commit a45bdb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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 | `{}` |
Expand Down
2 changes: 1 addition & 1 deletion templates/redis/statefulset.yaml
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Expand Up @@ -759,6 +759,7 @@ redis:
serviceAccountName: ""
# mount the service account token
automountServiceAccountToken: false
replicas: 1
image:
repository: goharbor/redis-photon
tag: dev
Expand Down

0 comments on commit a45bdb1

Please sign in to comment.