chore: frontend added

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
shahdlala66
2026-05-06 11:52:45 +02:00
parent fd15dfd541
commit 5644b94e41
3 changed files with 76 additions and 0 deletions
+12
View File
@@ -57,6 +57,11 @@ spec:
name: ws
sources:
direct: true
- origin:
kind: Warehouse
name: frontend
sources:
direct: true
promotionTemplate:
spec:
steps:
@@ -140,6 +145,13 @@ spec:
direct: false
stages:
- staging
- origin:
kind: Warehouse
name: frontend
sources:
direct: false
stages:
- staging
promotionTemplate:
spec:
steps:
@@ -132,3 +132,18 @@ spec:
imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/ws
strictSemvers: true
---
apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse
metadata:
name: frontend
namespace: nowchess-kargo
spec:
freightCreationPolicy: Automatic
interval: 5m0s
subscriptions:
- image:
discoveryLimit: 20
imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/frontend
strictSemvers: true
+49
View File
@@ -629,3 +629,52 @@ spec:
activeService: nowchess-ws-active
previewService: nowchess-ws-preview
autoPromotionEnabled: true
---
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: nowchess-frontend
labels:
app: nowchess-ws
spec:
selector:
matchLabels:
app: nowchess-frontend
template:
metadata:
labels:
app: nowchess-frontend
spec:
imagePullSecrets:
- name: ghcr-pull-secret
containers:
- name: nowchess-frontend
image: ghcr.io/now-chess/now-chess-systems/frontend:latest
imagePullPolicy: Always
ports:
- containerPort: 80
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 5
resources:
requests:
cpu: "10m"
memory: "64Mi"
limits:
cpu: "100m"
memory: "128Mi"
strategy:
blueGreen:
activeService: nowchess-frontend-active
previewService: nowchess-frontend-preview
autoPromotionEnabled: true