Skip to content

Commit

Permalink
neon-storage-controller: add chaosInterval setting (#96)
Browse files Browse the repository at this point in the history
Maps to `--chaos-interval` flag.
  • Loading branch information
problame authored Aug 15, 2024
1 parent 284356b commit 20ac05a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/neon-storage-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-storage-controller
description: Neon storage controller
type: application
version: 1.1.0
version: 1.1.1
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
3 changes: 2 additions & 1 deletion charts/neon-storage-controller/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-storage-controller

![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon storage controller

Expand Down Expand Up @@ -62,6 +62,7 @@ Kubernetes: `^1.18.x-x`
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| settings.chaosInterval | string | `""` | Chaos testing interval |
| settings.computeHookUrl | string | `""` | |
| settings.controlPlaneJwtToken | string | `""` | |
| settings.databaseUrl | string | `""` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/neon-storage-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ spec:
- --split-threshold
- {{ .Values.settings.splitThreshold | quote }}
{{- end }}
{{- if .Values.settings.chaosInterval }}
- --chaos-interval
- {{ .Values.settings.chaosInterval | quote }}
{{- end }}
env:
- name: LD_LIBRARY_PATH
value: "/usr/local/v16/lib"
Expand Down
3 changes: 3 additions & 0 deletions charts/neon-storage-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ settings:
computeHookUrl: ""
# settings.splitThreshold -- Size threshold in bytes for automatically sharding a tenant. Omit to disable auto-sharding (default)
splitThreshold: ""
# -- Chaos testing interval
chaosInterval: ""


# Enable auto register to control plane
# This will run postinstall job
Expand Down

0 comments on commit 20ac05a

Please sign in to comment.