fix(affine): update image tag 0.20.7 → 0.26.6
Image ghcr.io/toeverything/affine:0.20.7 was removed from ghcr.io, causing persistent ImagePullBackOff. Updated to latest stable 0.26.6. Prisma migrations run via init container on startup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6e889760b0
commit
f7411327d1
1 changed files with 2 additions and 2 deletions
|
|
@ -204,7 +204,7 @@ resource "kubernetes_deployment" "affine" {
|
||||||
# Init container to run database migrations
|
# Init container to run database migrations
|
||||||
init_container {
|
init_container {
|
||||||
name = "migration"
|
name = "migration"
|
||||||
image = "ghcr.io/toeverything/affine:0.20.7"
|
image = "ghcr.io/toeverything/affine:0.26.6"
|
||||||
command = ["sh", "-c", "npx prisma migrate deploy && SERVER_FLAVOR=script node ./dist/main.js run"]
|
command = ["sh", "-c", "npx prisma migrate deploy && SERVER_FLAVOR=script node ./dist/main.js run"]
|
||||||
|
|
||||||
dynamic "env" {
|
dynamic "env" {
|
||||||
|
|
@ -247,7 +247,7 @@ resource "kubernetes_deployment" "affine" {
|
||||||
|
|
||||||
container {
|
container {
|
||||||
name = "affine"
|
name = "affine"
|
||||||
image = "ghcr.io/toeverything/affine:0.20.7"
|
image = "ghcr.io/toeverything/affine:0.26.6"
|
||||||
|
|
||||||
port {
|
port {
|
||||||
container_port = 3010
|
container_port = 3010
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue