Ryan Cavicchioni
702478f84d
All checks were successful
Gitea Actions Demo / release-image (push) Successful in 1m2s
31 lines
569 B
YAML
31 lines
569 B
YAML
---
|
|
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
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: toy-session-secret
|