mirror of
https://github.com/wahyd4/you-music.git
synced 2026-08-08 20:59:47 +10:00
chore: Update k8s manifest to version master-28
This commit is contained in:
+32
-2
@@ -54,7 +54,7 @@ spec:
|
||||
# Init container to run database migrations
|
||||
initContainers:
|
||||
- name: youmusic-migrations
|
||||
image: "ghcr.io/wahyd4/you-music:master-27"
|
||||
image: "ghcr.io/wahyd4/you-music:master-28"
|
||||
imagePullPolicy: Always
|
||||
workingDir: /app/backend
|
||||
command:
|
||||
@@ -85,7 +85,7 @@ spec:
|
||||
|
||||
containers:
|
||||
- name: youmusic
|
||||
image: "ghcr.io/wahyd4/you-music:master-27" # Auto-updated by CI
|
||||
image: "ghcr.io/wahyd4/you-music:master-28" # Auto-updated by CI
|
||||
imagePullPolicy: Always
|
||||
workingDir: /app/backend
|
||||
command:
|
||||
@@ -231,3 +231,33 @@ spec:
|
||||
name: youmusic
|
||||
port:
|
||||
number: 80
|
||||
|
||||
---
|
||||
# Ingress for public API v1 (no authentication - API key based)
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: youmusic-api-v1-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
kubernetes.io/tls-acme: "true"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 100m
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- music.junv.cc # Update with your domain
|
||||
secretName: youmusic-tls
|
||||
rules:
|
||||
- host: music.junv.cc # Update with your domain
|
||||
http:
|
||||
paths:
|
||||
- path: /api/v1
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: youmusic
|
||||
port:
|
||||
number: 80
|
||||
|
||||
Reference in New Issue
Block a user