Remove Deployment in favor of a Rollout
All checks were successful
Gitea Actions Demo / lint (push) Successful in 1m31s
Gitea Actions Demo / test (push) Successful in 1m20s
Gitea Actions Demo / release-image (push) Successful in 1m3s

This commit is contained in:
Ryan Cavicchioni 2024-08-11 17:53:08 -05:00
parent 87156eda3d
commit ac5f98d865
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 0 additions and 45 deletions

View File

@ -1,44 +0,0 @@
---
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

@ -4,7 +4,6 @@ kind: Kustomization
namespace: toy
resources:
- secret.yaml
- deployment.yaml
- rollout.yaml
- services.yaml
- ingress.yaml