Skip to content

Commit

Permalink
add auth-broker flag
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate committed Sep 24, 2024
1 parent 5552faf commit ff31d8a
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.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 @@ -79,6 +79,7 @@ Kubernetes: `^1.18.x-x`
| settings.endpointRpsLimits | list | `[]` | (list) list of rate limiters for connection attempts over different time intervals |
| 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.isAuthBroker | bool | `false` | (bool) enable the auth-broker mode |
| settings.metricBackupCollectionChunkSize | string | `"4194304"` | (string) How large each chunk of the metric backup files should be in bytes |
| settings.metricBackupCollectionInterval | string | `"10m"` | |
| settings.metricBackupCollectionRemoteStorage | string | `""` | (string) Storage location to upload the metric backup files to |
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 @@ -68,6 +68,9 @@ spec:
- -a
- {{ . }}
{{- end }}
{{- if .Values.settings.isAuthBroker }}
- --is-auth-broker
{{- end }}
{{- with .Values.settings.authBackend }}
- --auth-backend
- {{ . }}
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 @@ -37,6 +37,8 @@ settings:
uri: ""
# settings.authBackend -- auth method used (console|link|postgres)
authBackend: "link"
# settings.isAuthBroker -- (bool) enable the auth-broker mode
isAuthBroker: false
# settings.domain -- domain used in TLS cert for client postgres connections
domain: ""
# settings.extraDomains -- domains used in extra TLS certs for client postgres connections
Expand Down

0 comments on commit ff31d8a

Please sign in to comment.