Files
tamagotchi-service/frontend-deployment.yaml
T
kaliouich 7f74a2bdb0 chore: pull images with a registry credential
The container registry is private since Gitea was rebuilt (sign-in required,
private repositories). Pods authenticate with a read-only package token.
2026-10-25 21:47:41 +00:00

29 lines
711 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: tamagotchi-frontend
namespace: tamagotchi
labels:
app: tamagotchi-frontend
tier: frontend
spec:
replicas: 1
selector:
matchLabels:
app: tamagotchi-frontend
template:
metadata:
labels:
app: tamagotchi-frontend
tier: frontend
spec:
# Le registre de conteneurs est prive depuis la reconstruction de Gitea.
imagePullSecrets:
- name: gitea-registry
containers:
- name: frontend
image: git.khalilaliouich.com/khalil/tamagotchi-frontend:787a094c59f2330f5af1e420eab6139b8aadb8be
imagePullPolicy: Always
ports:
- containerPort: 80