Skip to content

Commit

Permalink
add proxy-protocol-v2 flag to proxy charts (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate authored Sep 30, 2024
1 parent 6ad0769 commit 1a2cfc3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
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.1
version: 1.8.2
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.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)
![Version: 1.8.2](https://img.shields.io/badge/Version-1.8.2-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 @@ -94,6 +94,7 @@ Kubernetes: `^1.18.x-x`
| settings.parquetUploadRemoteStorage | string | `""` | (string) Storage location to upload the parquet files to. |
| settings.parquetUploadRowGroupSize | string | `"8192"` | (string) How many rows to include in a row group |
| settings.parquetUploadSize | string | `"100000000"` | (string) How large the total parquet file should be in bytes |
| settings.proxyProtocolV2 | string | `""` | (string) Whether to enable or disable the parsing of PROXY protocol V2. "rejected", "supported", or "required" are accepted. |
| settings.redisAuthType | string | `"irsa"` | (string) What auth type to use for regional Redis client. "irsa" and "plain" are supported. "plain" means use URI from settings.redisNotifications. "irsa" means AWS IRSA. |
| settings.redisClusterName | string | `"regional-control-plane-redis"` | (string) Redis cluster name, used in aws elasticache |
| settings.redisHost | string | `""` | (string) Redis host for streaming connections (might be different from the notifications host) |
Expand Down
3 changes: 3 additions & 0 deletions charts/neon-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ spec:
{{- with .Values.settings.awsRegion }}
- --aws-region={{ . }}
{{ end }}
{{- with .Values.settings.proxyProtocolV2 }}
- --proxy-protocol-v2={{ . }}
{{- end }}
{{- with .Values.settings.extraCmdFlags }}
{{- toYaml . | nindent 12 }}
{{- end }}
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.proxyProtocolV2 -- (string) Whether to enable or disable the parsing of PROXY protocol V2. "rejected", "supported", or "required" are accepted.
proxyProtocolV2: ""
# settings.extraCmdFlags -- (list) additional arguments to proxy binary
extraCmdFlags: []

Expand Down

0 comments on commit 1a2cfc3

Please sign in to comment.