Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy: Add support for additional command line arguments #105

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/neon-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-proxy
description: Neon Proxy
type: application
version: 1.8.0
version: 1.8.1
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
3 changes: 2 additions & 1 deletion charts/neon-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-proxy

![Version: 1.8.0](https://img.shields.io/badge/Version-1.8.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.8.1](https://img.shields.io/badge/Version-1.8.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 Proxy

Expand Down Expand Up @@ -77,6 +77,7 @@ Kubernetes: `^1.18.x-x`
| settings.domain | string | `""` | domain used in TLS cert for client postgres connections |
| settings.endpointCacheConfig | string | `""` | (string) Config for cache for all valid endpoints |
| settings.endpointRpsLimits | list | `[]` | (list) list of rate limiters for connection attempts over different time intervals |
| settings.extraCmdFlags | list | `[]` | (list) additional arguments to proxy binary |
| settings.extraDomains | list | `[]` | domains used in extra TLS certs for client postgres connections |
| settings.httpPoolOptIn | bool | `true` | (bool) Sets the SQL over HTTP Pool to opt-in-only mode if true. Set false to enable it always |
| settings.metricBackupCollectionChunkSize | string | `"4194304"` | (string) How large each chunk of the metric backup files should be in bytes |
Expand Down
4 changes: 3 additions & 1 deletion charts/neon-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ spec:
{{- with .Values.settings.awsRegion }}
- --aws-region={{ . }}
{{ end }}

{{- with .Values.settings.extraCmdFlags }}
{{- toYaml . | nindent 12 }}
{{- end }}

{{- if .Values.settings }}
env:
Expand Down
2 changes: 2 additions & 0 deletions charts/neon-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ settings:
redisUserId: "neon"
# settings.awsRegion -- (string) Aws region to retrieve credentials
awsRegion: ""
# settings.extraCmdFlags -- (list) additional arguments to proxy binary
extraCmdFlags: []

serviceAccount:
# serviceAccount.create - Specifies whether a service account should be created
Expand Down
Loading