mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-04-10 03:12:45 +00:00
[OPB-xxx] adding configuration and changing structure for k8s deployment
This commit is contained in:
7
deployment/helm/oneplus-bot/templates/api-keys.yaml
Normal file
7
deployment/helm/oneplus-bot/templates/api-keys.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: api-keys
|
||||
data:
|
||||
discordToken: {{ $.Values.apiKeys.discord.token | b64enc }} # b64enc is needed, because a stringData secret field cannot hold numeric values
|
||||
youtubeApiKey: {{ $.Values.apiKeys.youtube.apiKey | b64enc }}
|
||||
Reference in New Issue
Block a user