kustomize: convert rollout to deployment
All checks were successful
Gitea Actions Demo / lint (push) Successful in 1m33s
Gitea Actions Demo / test (push) Successful in 1m31s
Gitea Actions Demo / release-image (push) Successful in 2m42s

This commit is contained in:
2025-02-07 00:23:07 -06:00
parent 4c3d660a0c
commit 7b0c93aa62
2 changed files with 3 additions and 15 deletions

View File

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