Skip to content

Commit

Permalink
The Frontend Pre Shared Key is still used by console-backend (#157)
Browse files Browse the repository at this point in the history
Co-authored-by: Roger Bjørnstad <[email protected]>
  • Loading branch information
thokra-nav and rbjornstad authored Sep 20, 2023
1 parent 84dc3da commit 0bca2c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/hookd/Feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@ values:
displayName: Ingress URL
computed:
template: '"{{ subdomain . "deploy" }}"'
frontendPreSharedKey:
displayName: "console-backend pre-shared key"
computed:
template: "{{.Management.hookd_frontend_pre_shared_key | quote}}"
description: "The pre-shared key used to authenticate the console-backend"
1 change: 1 addition & 0 deletions charts/hookd/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ stringData:
HOOKD_CONSOLE_URL: "http://teams-backend/query"
HOOKD_PROVISION_KEY: "{{ .Values.provisionKey }}"
HOOKD_DATABASE_URL: "postgres://{{ .Values.database.user }}@127.0.0.1:5432/{{ .Values.database.name }}?sslmode=disable"
HOOKD_FRONTEND_KEYS: "{{ .Values.frontendPreSharedKey }}"
2 changes: 2 additions & 0 deletions charts/hookd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ image:
pullPolicy: IfNotPresent
tag: latest

frontendPreSharedKey: # mapped by fasit

imagePullSecrets: []

0 comments on commit 0bca2c7

Please sign in to comment.