Skip to content

Commit

Permalink
add support for configuring discord with Helm
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazingAsher committed Jul 28, 2023
1 parent 73a37bb commit 3847218
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ data:
DATABASE: {{ .Values.hackthe6ixBackend.secrets.local.mongoUrl | b64enc }}
MAILTRAIN_API_KEY: {{ .Values.hackthe6ixBackend.secrets.local.mailerApiKey | b64enc }}
JWT_SECRET: {{ .Values.hackthe6ixBackend.secrets.local.jwtSecret | b64enc }}
DISCORD_CLIENT_ID: {{ .Values.hackthe6ixBackend.secrets.local.discordClientId | b64enc }}
DISCORD_CLIENT_SECRET: {{ .Values.hackthe6ixBackend.secrets.local.discordClientSecret | b64enc }}
DISCORD_GUILD_ID: {{ .Values.hackthe6ixBackend.secrets.discord.discordGuildId | b64enc }}
{{- end }}
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ hackthe6ixBackend:
mongoUrl: mongodb://localhost:27017/test
mailerApiKey: changeme
jwtSecret: changeme
discordClientId: changeme
discordClientSecret: changeme
discordGuildId: changeme
initialization:
secretName: test-secret
settings:
Expand Down

0 comments on commit 3847218

Please sign in to comment.