Files
rickroll/k8s/deploy.rickroll.yaml
ytshih cffec521b8
All checks were successful
Build image and deploy / release-image (push) Successful in 1m44s
Build image and deploy / deploy (push) Successful in 46s
Change: service image
2024-10-18 16:24:24 +00:00

30 lines
552 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: rickroll
namespace: rickroll
labels:
app: rickroll
spec:
replicas: 1
selector:
matchLabels:
app: rickroll
template:
metadata:
labels:
app: rickroll
spec:
containers:
- name: server
image: gitea.konchin.com/service/rickroll:latest
ports:
- name: http
containerPort: 80
env:
- name: URI
value: https://youtu.be/dQw4w9WgXcQ
imagePullSecrets:
- name: regcred