Skip to content

Commit

Permalink
Add peer jwt token value to storcon helm chart (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLazar authored Aug 21, 2024
1 parent 9c25701 commit 4c43c7d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/neon-storage-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-storage-controller
description: Neon storage controller
type: application
version: 1.1.2
version: 1.1.3
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
3 changes: 2 additions & 1 deletion charts/neon-storage-controller/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-storage-controller

![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.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)
![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-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 storage controller

Expand Down Expand Up @@ -67,6 +67,7 @@ Kubernetes: `^1.18.x-x`
| settings.controlPlaneJwtToken | string | `""` | |
| settings.databaseUrl | string | `""` | |
| settings.jwtToken | string | `""` | |
| settings.peerJwtToken | string | `""` | JWT token for authentication with other storage controller instances |
| settings.publicKey | string | `""` | |
| 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 storage-controller |
Expand Down
1 change: 1 addition & 0 deletions charts/neon-storage-controller/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ data:
DATABASE_URL: {{ .Values.settings.databaseUrl | b64enc | quote }}
CONTROL_PLANE_JWT_TOKEN: {{ .Values.settings.controlPlaneJwtToken | b64enc | quote }}
PAGESERVER_JWT_TOKEN: {{ .Values.settings.jwtToken| b64enc | quote }}
PEER_JWT_TOKEN: {{ .Values.settings.peerJwtToken | b64enc | quote }}
10 changes: 6 additions & 4 deletions charts/neon-storage-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ settings:
sentryUrl: ""
# settings.sentryEnvironment -- "development" or "production". It will be visible in sentry in order to filter issues
sentryEnvironment: "development"
# May be set if AWS Secrets Manager is not being used: postgresql:// URL to the database
# postgresql:// URL to the database
databaseUrl: ""
# May be set if AWS Secrets Manager is not being used: JWT token for authentication with pageservers
# JWT token for authentication with pageservers
jwtToken: ""
# May be set if AWS Secrets Manager is not being used: public key for authenticating incoming HTTP requests
# -- JWT token for authentication with other storage controller instances
peerJwtToken: ""
# public key for authenticating incoming HTTP requests
publicKey: ""
# May be set if AWS Secrets Manager is not being used: JWT token for authenticating calls to computeHookUrl
# JWT token for authenticating calls to computeHookUrl
controlPlaneJwtToken: ""
# URL for compute notifications
computeHookUrl: ""
Expand Down

0 comments on commit 4c43c7d

Please sign in to comment.