Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
keydb: add StatefulsetAnnotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiarchitect committed Sep 16, 2021
1 parent 185f73b commit bf4dcf4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion keydb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: keydb
description: A Helm chart for KeyDB multimaster setup
type: application
version: 0.24.0
version: 0.25.0
keywords:
- keydb
- redis
Expand Down
1 change: 1 addition & 0 deletions keydb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The following table lists the configurable parameters of the KeyDB chart and the
| `protectedMode` | KeyDB protection mode | `no` |
| `appendonly` | KeyDB appendonly setting | `no` |
| `configExtraArgs` | Additional configuration arguments for KeyDB | `{}` |
| `annotations` | KeyDB StatefulSet annotations | `{}` |
| `podAnnotations` | KeyDB pods annotations | `{}` |
| `tolerations` | KeyDB tolerations setting | `{}` |
| `additionalAffinities` | Additional affinities for StatefulSet | `{}` |
Expand Down
4 changes: 4 additions & 0 deletions keydb/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "keydb.fullname" . }}
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
labels:
{{ include "keydb.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions keydb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ activeReplicas: "yes"
protectedMode: "no"
appendonly: "no"

annotations: {}

configExtraArgs: {}

podAnnotations: {}
Expand Down

0 comments on commit bf4dcf4

Please sign in to comment.