From 7c0b54e16a4f66698e8ccd05d571431fe175742d Mon Sep 17 00:00:00 2001 From: Anna Khanova Date: Wed, 3 Apr 2024 22:00:22 +0200 Subject: [PATCH] Proxy: consumptions events for to s3 config --- charts/neon-proxy/Chart.yaml | 2 +- charts/neon-proxy/README.md | 2 +- charts/neon-proxy/templates/deployment.yaml | 9 +++++++++ charts/neon-proxy/values.yaml | 6 ++++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/charts/neon-proxy/Chart.yaml b/charts/neon-proxy/Chart.yaml index b3e7355..29a0ad7 100644 --- a/charts/neon-proxy/Chart.yaml +++ b/charts/neon-proxy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: neon-proxy description: Neon Proxy type: application -version: 1.7.19 +version: 1.7.20 appVersion: "0.1.0" kubeVersion: "^1.18.x-x" home: https://neon.tech diff --git a/charts/neon-proxy/README.md b/charts/neon-proxy/README.md index 483f3e5..8db5177 100644 --- a/charts/neon-proxy/README.md +++ b/charts/neon-proxy/README.md @@ -1,6 +1,6 @@ # neon-proxy -![Version: 1.7.19](https://img.shields.io/badge/Version-1.7.19-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.7.20](https://img.shields.io/badge/Version-1.7.20-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 Proxy diff --git a/charts/neon-proxy/templates/deployment.yaml b/charts/neon-proxy/templates/deployment.yaml index 1a43a80..2344707 100644 --- a/charts/neon-proxy/templates/deployment.yaml +++ b/charts/neon-proxy/templates/deployment.yaml @@ -140,6 +140,15 @@ spec: - --redis-notifications - {{ . }} {{- end }} + {{- with .Values.settings.metricBackupCollectionInterval }} + - --metric-backup-collection-interval={{ . }} + {{ end }} + {{- with .Values.settings.metricBackupCollectionRemoteStorage }} + - --metric-backup-collection-remote-storage={{ . }} + {{ end }} + {{- with .Values.settings.metricBackupCollectionChunkSize }} + - --metric-backup-collection-chunk-size={{ . }} + {{ end }} {{- if .Values.settings }} env: diff --git a/charts/neon-proxy/values.yaml b/charts/neon-proxy/values.yaml index e069e8f..4c1186a 100644 --- a/charts/neon-proxy/values.yaml +++ b/charts/neon-proxy/values.yaml @@ -91,6 +91,12 @@ settings: awsAccessKeyId: "" # settings.awsSecretAccessKey -- (string) AWS Secret Access Key awsSecretAccessKey: "" + # settings.metricBackupCollectionRemoteStorage -- (string) Storage location to upload the metric backup files to + metricBackupCollectionRemoteStorage: "" + # settings.metrickBackupCollectionInterval -- (string) How often to upload the metric backup files + metricBackupCollectionInterval: "10m" + # settings.metricBackupCollectionChunkSize -- (string) How large each chunk of the metric backup files should be in bytes + metricBackupCollectionChunkSize: "4194304" serviceAccount: # serviceAccount.create - Specifies whether a service account should be created