Skip to content
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 peerdb-catalog/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.9.0
version: 0.9.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
2 changes: 1 addition & 1 deletion peerdb-catalog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# peerdb-catalog

![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)
![Version: 0.9.1](https://img.shields.io/badge/Version-0.9.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion peerdb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.9.0
version: 0.9.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
5 changes: 4 additions & 1 deletion peerdb/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# peerdb

![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)
![Version: 0.9.1](https://img.shields.io/badge/Version-0.9.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)

Install PeerDB along with Temporal.

Expand Down Expand Up @@ -154,6 +154,7 @@ Install PeerDB along with Temporal.
| global.peerdb.lowCost.nodeSelector | object | `{}` | Node selector that will be applied to all the lowCost=true peerdb components additively |
| global.peerdb.lowCost.tolerations | list | `[]` | Tolerations that will be applied to all the lowCost=true peerdb components additively |
| peerdb.credentials.password | string | `"peerdb"` | |
| peerdb.credentials.passwordExistingSecret | string | `""` | Use this existing secret for PeerDB Server Password. Must have `SERVER_PEERDB_PASSWORD` key. |
| peerdb.deployment.annotations | object | `{}` | annotations that will be applied to the peerdb-server deployment, NOT the pods |
| peerdb.deployment.labels | object | `{}` | labels that will be applied to the peerdb-server deployment, NOT the pods |
| peerdb.enabled | bool | `true` | |
Expand Down Expand Up @@ -181,8 +182,10 @@ Install PeerDB along with Temporal.
| peerdb.service.targetPort | int | `9900` | |
| peerdb.service.type | string | `"ClusterIP"` | |
| peerdb.version | string | `"stable-v0.30.9"` | This version is overridden by .env file if the install_peerdb.sh script is being used In that case, either update the .env file or override it via values.customer.yaml when installing |
| peerdbUI.credentials.nexauthExistingSecret | string | `""` | Use this existing secret for nexauth_secret. Must have `UI_NEXTAUTH_SECRET` key. |
| peerdbUI.credentials.nexauth_secret | string | `""` | |
| peerdbUI.credentials.password | string | `"_PEERDB_PASSWORD_"` | |
| peerdbUI.credentials.passwordExistingSecret | string | `""` | Use this existing secret for PeerDB UI Password. Must have `UI_PEERDB_PASSWORD` key. |
| peerdbUI.deployment.annotations | object | `{}` | annotations that will be applied to the peerdbUI deployment, NOT the pods |
| peerdbUI.deployment.labels | object | `{}` | labels that will be applied to the peerdbUI deployment, NOT the pods |
| peerdbUI.enabled | bool | `true` | |
Expand Down
4 changes: 4 additions & 0 deletions peerdb/templates/peerdb-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ spec:
valueFrom:
secretKeyRef:
key: SERVER_PEERDB_PASSWORD
{{- if .Values.peerdb.credentials.passwordExistingSecret }}
name: {{ .Values.peerdb.credentials.passwordExistingSecret }}
{{- else }}
name: peerdb-server-ui-secret
{{- end }}
# flow server config
- name: PEERDB_FLOW_SERVER_ADDRESS
value: "http://flow-api:{{ .Values.flowApi.service.port }}"
Expand Down
8 changes: 8 additions & 0 deletions peerdb/templates/peerdb-server-ui-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{{- if not (and (.Values.peerdbUI.credentials.passwordExistingSecret .Values.peerdb.credentials.passwordExistingSecret .Values.peerdbUI.credentials.nexauthExistingSecret)) }}
apiVersion: v1
kind: Secret
metadata:
name: peerdb-server-ui-secret
labels:
{{- include "peerdb.common.labels" . | nindent 4 }}
stringData:
{{- if not .Values.peerdbUI.credentials.passwordExistingSecret }}
UI_PEERDB_PASSWORD: '{{ .Values.peerdbUI.credentials.password }}'
{{- end }}
{{- if not .Values.peerdb.credentials.passwordExistingSecret }}
SERVER_PEERDB_PASSWORD: '{{ .Values.peerdb.credentials.password }}'
{{- end }}
{{- if not .Values.peerdbUI.credentials.nexauthExistingSecret }}
UI_NEXTAUTH_SECRET: '{{ .Values.peerdbUI.credentials.nexauth_secret | default (randAlphaNum 60) }}'
{{- end }}
{{- end }}
8 changes: 8 additions & 0 deletions peerdb/templates/peerdb-ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,20 @@ spec:
valueFrom:
secretKeyRef:
key: UI_PEERDB_PASSWORD
{{- if .Values.peerdbUI.credentials.passwordExistingSecret }}
name: {{ .Values.peerdbUI.credentials.passwordExistingSecret }}
{{- else }}
name: peerdb-server-ui-secret
{{- end }}
- name: NEXTAUTH_SECRET
valueFrom:
secretKeyRef:
key: UI_NEXTAUTH_SECRET
{{- if .Values.peerdbUI.credentials.nexauthExistingSecret }}
name: {{ .Values.peerdbUI.credentials.nexauthExistingSecret }}
{{- else }}
name: peerdb-server-ui-secret
{{- end }}
- name: NEXTAUTH_URL
value: {{ .Values.peerdbUI.service.url }}
{{- with .Values.peerdbUI.extraEnv -}}
Expand Down
6 changes: 6 additions & 0 deletions peerdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,11 @@ peerdbUI:
enabled: true
credentials:
password: _PEERDB_PASSWORD_
# -- Use this existing secret for PeerDB UI Password. Must have `UI_PEERDB_PASSWORD` key.
passwordExistingSecret: ''
nexauth_secret: ''
# -- Use this existing secret for nexauth_secret. Must have `UI_NEXTAUTH_SECRET` key.
nexauthExistingSecret: ''
extraEnv: []
lowCost: true
pods:
Expand Down Expand Up @@ -316,6 +320,8 @@ peerdb:
logDir: "/var/log/peerdb"
credentials:
password: "peerdb"
# -- Use this existing secret for PeerDB Server Password. Must have `SERVER_PEERDB_PASSWORD` key.
passwordExistingSecret: ''
resources:
requests:
cpu: 0.1
Expand Down
Loading