Skip to content

Commit

Permalink
fix: babyrite pod definition
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 committed Sep 3, 2024
1 parent b89fc57 commit 815605f
Showing 1 changed file with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,30 @@ spec:
labels:
app: babyrite
spec:
- name: babyrite
image: ghcr.io/m1sk9/babyrite:v0.9.2
resources:
requests:
cpu: 250m
memory: 16Mi
limits:
cpu: 500m
memory: 32Mi
volumeMounts:
- name: babyrite-config-volume
mountPath: /home/babyrite/config/config.yaml
env:
# 相対パスを指定する
- name: CONFIG_FILE_PATH
value: "config/config.yaml"
- name: DISCORD_API_TOKEN
valueFrom:
secretKeyRef:
name: babyrite-discord-token
key: BABYRITE_DISCORD_TOKEN
volumes:
- name: babyrite-config-volume
configMap:
name: babyrite-config
containers:
- name: babyrite
image: ghcr.io/m1sk9/babyrite:v0.9.2
resources:
requests:
cpu: 250m
memory: 16Mi
limits:
cpu: 500m
memory: 32Mi
volumeMounts:
- name: babyrite-config-volume
mountPath: /home/babyrite/config/config.yaml
env:
# 相対パスを指定する
- name: CONFIG_FILE_PATH
value: "config/config.yaml"
- name: DISCORD_API_TOKEN
valueFrom:
secretKeyRef:
name: babyrite-discord-token
key: BABYRITE_DISCORD_TOKEN
volumes:
- name: babyrite-config-volume
configMap:
name: babyrite-config

0 comments on commit 815605f

Please sign in to comment.