Skip to content

Commit

Permalink
Merge pull request #1400 from GiganticMinecraft/fix/idea-reaction-arg…
Browse files Browse the repository at this point in the history
…ocd-sync-error

fix: idea-reaction の Pod 同期エラーの修正
  • Loading branch information
kory33 authored Nov 10, 2023
2 parents 75c51cb + 7d0f075 commit 9f105ae
Showing 1 changed file with 30 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,33 @@ spec:
labels:
app: idea-reaction
spec:
- name: idea-reaction
image: ghcr.io/giganticminecraft/idea-reaction:42a57b77637240c64672a6a64cc909a0c50509fa
resources:
requests:
cpu: 250m
memory: 16Mi
limits:
cpu: 500m
memory: 32Mi
volumeMounts:
- name: idea-reaction-config-volume
mountPath: /home/idea-reaction/assets/config.yaml
env:
- name: TARGET_CHANNEL_ID
value: "959292335177486367"
# Webhook ID は Webhook の UserId と同一のため, 公開情報になる.
- name: TARGET_WEBHOOK_ID
value: "959307225413845072"
- name: TARGET_GUILD_ID
value: "237758724121427969"
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
name: idea-reaction-discord-token
key: IDEA_REACTION_DISCORD_TOKEN
volumes:
- name: idea-reaction-config-volume
configMap:
name: idea-reaction-config
container:
- name: idea-reaction
image: ghcr.io/giganticminecraft/idea-reaction:42a57b77637240c64672a6a64cc909a0c50509fa
resources:
requests:
cpu: 250m
memory: 16Mi
limits:
cpu: 500m
memory: 32Mi
volumeMounts:
- name: idea-reaction-config-volume
mountPath: /home/idea-reaction/assets/config.yaml
env:
- name: TARGET_CHANNEL_ID
value: "959292335177486367"
# Webhook ID は Webhook の UserId と同一のため, 公開情報になる.
- name: TARGET_WEBHOOK_ID
value: "959307225413845072"
- name: TARGET_GUILD_ID
value: "237758724121427969"
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
name: idea-reaction-discord-token
key: IDEA_REACTION_DISCORD_TOKEN
volumes:
- name: idea-reaction-config-volume
configMap:
name: idea-reaction-config

0 comments on commit 9f105ae

Please sign in to comment.