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

Add peer jwt token value to storcon helm chart #100

Merged
merged 5 commits into from
Aug 21, 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-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
Loading