mirror of
https://github.com/kerberos-io/helm-charts.git
synced 2026-11-23 23:20:23 +00:00
feat(hub): pass Pusher app credentials to hub-api and hub-monitor-device (0.204.0)
New pusher.appId/key/secret/cluster values render as PUSHER_APP_ID, PUSHER_KEY, PUSHER_SECRET and PUSHER_CLUSTER on hub-api and hub-monitor-device. Both send in-app browser notifications through Pusher and read the app from these variables once they are built on github.com/uug-ai/integrations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ca70077b59
commit
49f7361244
@@ -16,7 +16,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.203.0
|
||||
version: 0.204.0
|
||||
|
||||
# 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
|
||||
|
||||
@@ -856,6 +856,10 @@ kerberospipeline:
|
||||
| `turn.host` | TURN/STUN hostname, by default `'turn:turn.yourdomain.com:8443'` | `"turn:turn.yourdomain.com:8443"` |
|
||||
| `turn.username` | TURN/STUN username, by default `'username1'` | `"username1"` |
|
||||
| `turn.password` | TURN/STUN password, by default `'password1'` | `"password1"` |
|
||||
| `pusher.appId` | Pusher app ID for in-app browser notifications from hub-api and the device monitor, rendered as `PUSHER_APP_ID` (hub-api and hub-monitor-device built on github.com/uug-ai/integrations). | `""` |
|
||||
| `pusher.key` | Pusher app key, rendered as `PUSHER_KEY`. | `""` |
|
||||
| `pusher.secret` | Pusher app secret, rendered as `PUSHER_SECRET`. | `""` |
|
||||
| `pusher.cluster` | Pusher cluster, rendered as `PUSHER_CLUSTER`. | `"eu"` |
|
||||
| `opentelemetry.enabled` | Enable or disable OpenTelemetry instrumentation. | `false` |
|
||||
| `opentelemetry.routingEnabled` | Enable or disable OpenTelemetry routing/export behavior. | `false` |
|
||||
| `opentelemetry.collector.endpoint` | OpenTelemetry collector endpoint used for trace export. | `"http://otel-collector:4317"` |
|
||||
|
||||
@@ -602,6 +602,16 @@ spec:
|
||||
- name: SLACK_USERNAME
|
||||
value: "{{ .Values.kerberoshub.api.slack.username }}"
|
||||
|
||||
# Pusher (in-app notifications)
|
||||
- name: PUSHER_APP_ID
|
||||
value: {{ .Values.pusher.appId | quote }}
|
||||
- name: PUSHER_KEY
|
||||
value: {{ .Values.pusher.key | quote }}
|
||||
- name: PUSHER_SECRET
|
||||
value: {{ .Values.pusher.secret | quote }}
|
||||
- name: PUSHER_CLUSTER
|
||||
value: {{ .Values.pusher.cluster | quote }}
|
||||
|
||||
# Mail settings
|
||||
- name: MAIL_PROVIDER
|
||||
value: "{{ .Values.email.provider }}"
|
||||
|
||||
@@ -129,6 +129,16 @@ spec:
|
||||
value: "{{ .Values.email.mailgun.domain }}"
|
||||
- name: MAILGUN_API_KEY
|
||||
value: "{{ .Values.email.mailgun.apikey }}"
|
||||
|
||||
# Pusher (in-app notifications)
|
||||
- name: PUSHER_APP_ID
|
||||
value: {{ .Values.pusher.appId | quote }}
|
||||
- name: PUSHER_KEY
|
||||
value: {{ .Values.pusher.key | quote }}
|
||||
- name: PUSHER_SECRET
|
||||
value: {{ .Values.pusher.secret | quote }}
|
||||
- name: PUSHER_CLUSTER
|
||||
value: {{ .Values.pusher.cluster | quote }}
|
||||
{{- if .Values.kerberoshub.extraEnv }}
|
||||
{{- toYaml .Values.kerberoshub.extraEnv | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -248,6 +248,18 @@ turn:
|
||||
username: "username1"
|
||||
password: "password1"
|
||||
############################################
|
||||
# Pusher (in-app notifications)
|
||||
#
|
||||
# Usecases:
|
||||
# - Browser notifications: hub-api (a new camera was added) and the device
|
||||
# monitor (a camera changed status) trigger an event on the user's channel.
|
||||
############################################
|
||||
pusher:
|
||||
appId: ""
|
||||
key: ""
|
||||
secret: ""
|
||||
cluster: "eu"
|
||||
############################################
|
||||
# OpenTelemetry is used for distributed tracing and monitoring.
|
||||
# More information can be found at https://opentelemetry.io/docs/
|
||||
############################################
|
||||
|
||||
Reference in New Issue
Block a user