Skip to content

Conversation

@kaomojikun5
Copy link

@kaomojikun5 kaomojikun5 commented Sep 9, 2025

knoQのk8sを書きました。

@Kentaro1043 Kentaro1043 self-requested a review September 11, 2025 03:44
Copy link
Collaborator

@Kentaro1043 Kentaro1043 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

確認をお願いします🙏
これらを見つつ、先にknoq-devの用意をしていただけると助かります🙏

apiVersion: apps/v1
kind: Deployment
metadata:
name: knoq-backend
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この辺の名前から-backendを削除して欲しいです(フロントエンドも実行されるので)
ファイル名からもお願いします🙏

secretName: knoq-tls

routes:
- match: (Host(`knoq.trap.jp`) && PathPrefix(`/api/`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

フロントエンドも同じコンテナで実行されるので、PathPrefixは必要ないです
あと余分な(が先頭についてます

valueFrom:
secretKeyRef:
name: knoq-secrets
key: DB_PASSWORD
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

READMEに従って、この値を格納するSecretの用意をお願いします
わからなかったら聞いて下さい!

@@ -0,0 +1,5 @@
resources:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ファイル名ミス: kustomization.yamlです

weight: 1

containers:
- name: knoq-backend
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

フロントエンドのリポジトリをpullしてVolumeをアタッチするinitContainersの用意をお願いします

@github-actions
Copy link

Diff

No diff detected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants