Skip to content

Commit

Permalink
proxy: add web identity token file env
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate committed Jan 12, 2024
1 parent f1c496b commit 1ce74c4
Show file tree
Hide file tree
Showing 4 changed files with 9 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.7.13
version: 1.7.14
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.7.13](https://img.shields.io/badge/Version-1.7.13-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.14](https://img.shields.io/badge/Version-1.7.14-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 @@ -65,6 +65,7 @@ Kubernetes: `^1.18.x-x`
| settings.authEndpoint | string | `""` | auth endpoint, e.g. "http://console.neon/authenticate_proxy_request/" |
| settings.awsAccessKeyId | string | `""` | (string) AWS Access Key ID |
| settings.awsSecretAccessKey | string | `""` | (string) AWS Secret Access Key |
| settings.awsWebIdentityTokenFile | string | `""` | (string) AWS Web Identity Token File Path |
| settings.controlplane_token | string | `""` | (string) JWT token to pass to control plane management API |
| settings.disableDynamicRateLimiter | bool | `true` | (bool) Disable dynamic rate limiter |
| settings.domain | string | `""` | domain used in TLS cert for client postgres connections |
Expand Down
4 changes: 4 additions & 0 deletions charts/neon-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ spec:
- name: AWS_SECRET_ACCESS_KEY
value: {{ . }}
{{- end }}
{{- with .Values.settings.awsWebIdentityTokenFile }}
- name: AWS_WEB_IDENTITY_TOKEN_FILE
value: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.settings.domain }}
volumeMounts:
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 @@ -83,6 +83,8 @@ settings:
awsAccessKeyId: ""
# settings.awsSecretAccessKey -- (string) AWS Secret Access Key
awsSecretAccessKey: ""
# settings.awsWebIdentityTokenFile -- (string) AWS Web Identity Token File Path
awsWebIdentityTokenFile: ""

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

0 comments on commit 1ce74c4

Please sign in to comment.