Skip to content

Commit

Permalink
Merge pull request #2158 from GiganticMinecraft/fix-babyrite-pod
Browse files Browse the repository at this point in the history
fix: babyrite pod の定義エラーを修正
  • Loading branch information
outductor authored Sep 3, 2024
2 parents b89fc57 + 815605f commit 392a032
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 392a032

Please sign in to comment.