From 7d0f075af2c43f78acdc70b3fa2683ff99257ba9 Mon Sep 17 00:00:00 2001 From: m1sk9 Date: Fri, 10 Nov 2023 22:21:53 +0900 Subject: [PATCH] fix: argocd sync error --- .../idea-reaction/idea-reaction.yaml | 59 ++++++++++--------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/idea-reaction/idea-reaction.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/idea-reaction/idea-reaction.yaml index 258e5ac6f..56fc6bfd9 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/idea-reaction/idea-reaction.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/idea-reaction/idea-reaction.yaml @@ -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