diff --git a/charts/neon-proxy/Chart.yaml b/charts/neon-proxy/Chart.yaml index 3920cb4..1b96fd0 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.17 +version: 1.7.18 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 fe1dfed..7d151a8 100644 --- a/charts/neon-proxy/README.md +++ b/charts/neon-proxy/README.md @@ -1,6 +1,6 @@ # neon-proxy -![Version: 1.7.17](https://img.shields.io/badge/Version-1.7.17-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.18](https://img.shields.io/badge/Version-1.7.18-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 @@ -86,6 +86,7 @@ Kubernetes: `^1.18.x-x` | settings.parquetUploadSize | string | `"100000000"` | (string) How large the total parquet file should be in bytes | | settings.redisNotifications | string | `""` | (url) Configures redis client | | settings.region | string | `""` | (string) Region this proxy service is deployed into | +| settings.rustLog | string | `"INFO"` | Proxy log level | | settings.sentryEnvironment | string | `"development"` | "development" or "production". It will be visible in sentry in order to filter issues | | settings.sentryUrl | string | `""` | url (will be converted into `SENTRY_DSN` environment variable) used by sentry to collect error/panic events in neon-proxy | | settings.uri | string | `""` | | diff --git a/charts/neon-proxy/templates/deployment.yaml b/charts/neon-proxy/templates/deployment.yaml index a580966..0de0193 100644 --- a/charts/neon-proxy/templates/deployment.yaml +++ b/charts/neon-proxy/templates/deployment.yaml @@ -140,6 +140,10 @@ spec: {{- if .Values.settings }} env: + {{- with .Values.settings.rustLog }} + - name: RUST_LOG + value: {{ . }} + {{- end }} {{- with .Values.settings.otelExporterOtlpEndpoint }} - name: OTEL_EXPORTER_OTLP_ENDPOINT value: {{ . }} diff --git a/charts/neon-proxy/values.yaml b/charts/neon-proxy/values.yaml index 134551c..1a94637 100644 --- a/charts/neon-proxy/values.yaml +++ b/charts/neon-proxy/values.yaml @@ -41,6 +41,8 @@ settings: domain: "" # settings.extraDomains -- domains used in extra TLS certs for client postgres connections extraDomains: [] + # settings.rustLog -- Proxy log level + rustLog: "INFO" # settings.otelExporterOtlpEndpoint -- OpenTelemetry collector URL (will be converted into `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable) otelExporterOtlpEndpoint: "" # settings.otelExporterDisabled -- Disables OpenTelemetry (will be converted into `OTEL_SDK_DISABLED` environment variable)