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
6 changes: 6 additions & 0 deletions k8s/helm/commonly/templates/core/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@ spec:
name: api-keys
key: discord-guild-id
optional: true
- name: DISCORD_PUBLIC_KEY
valueFrom:
secretKeyRef:
name: api-keys
key: discord-public-key
optional: true

# Social login (OAuth) providers — names match what
# controllers/oauthController.ts reads. The old GITHUB_CLIENT_ID /
Expand Down
6 changes: 6 additions & 0 deletions k8s/helm/commonly/templates/secrets/api-keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ spec:
- secretKey: discord-guild-id
remoteRef:
key: commonly-dev-discord-guild-id
# Discord webhook verification (B2). Create this remote key in Secret
# Manager before deploying the fail-closed ingress; ESO rejects api-keys
# when a referenced remote key is missing.
- secretKey: discord-public-key
remoteRef:
key: commonly-dev-discord-public-key

# OAuth Providers
- secretKey: google-client-id
Expand Down
Loading