Last active
July 22, 2023 06:53
-
-
Save tuna2134/efe3472e939f7bc063708006414c352e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: miky-bot-deployment | |
labels: | |
bot: miky | |
spec: | |
selector: | |
matchLabels: | |
bot: miky | |
template: | |
metadata: | |
labels: | |
bot: miky | |
spec: | |
containers: | |
- name: bot | |
image: ghcr.io/mc-fdc-dev/miky-bot:latest | |
env: | |
- name: DISCORD_TOKEN | |
valueFrom: | |
secretKeyRef: | |
name: bot-secret | |
key: token | |
- name: DB_HOST | |
valueFrom: | |
secretKeyRef: | |
name: bot-secret | |
key: db-host | |
- name: DB_USER | |
valueFrom: | |
secretKeyRef: | |
name: bot-secret | |
key: db-user | |
- name: DB_PASSWORD | |
valueFrom: | |
secretKeyRef: | |
name: bot-secret | |
key: db-password | |
- name: DB_NAME | |
valueFrom: | |
secretKeyRef: | |
name: bot-secret | |
key: db-name |
Author
tuna2134
commented
Jul 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment