Compare commits

..

2 Commits

Author SHA1 Message Date
eaf642ca49 Add /status/:code
Some checks failed
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / release-image (push) Blocked by required conditions
Gitea Actions Demo / lint (push) Has been cancelled
2024-08-11 17:52:04 -05:00
72f083c444 Add Argo Rollout
All checks were successful
Gitea Actions Demo / lint (push) Successful in 1m28s
Gitea Actions Demo / test (push) Successful in 1m20s
Gitea Actions Demo / release-image (push) Successful in 1m8s
2024-08-11 12:56:53 -05:00
2 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,44 @@
---
kind: Deployment
apiVersion: apps/v1
metadata:
annotations:
reloader.stakater.com/auto: "true"
name: toy
labels:
app: toy
spec:
replicas: 3
selector:
matchLabels:
app: toy
template:
metadata:
labels:
app: toy
spec:
containers:
- name: toy
image: git.kill0.net/ryanc/toy:latest
ports:
- name: web
containerPort: 4567
env:
- name: SESSION_SECRET
valueFrom:
secretKeyRef:
name: toy-session-secret
key: session_secret
optional: true
livenessProbe:
httpGet:
path: /livez
port: 4567
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /readyz
port: 4567
initialDelaySeconds: 5
periodSeconds: 5

View File

@ -28,7 +28,6 @@ spec:
containers: containers:
- name: toy - name: toy
image: git.kill0.net/ryanc/toy:latest image: git.kill0.net/ryanc/toy:latest
imagePullPolicy: Always
ports: ports:
- name: web - name: web
containerPort: 4567 containerPort: 4567