Files
tamagotchi-service/frontend-deployment.yaml
T

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:6649a946cb4af498ec62c43d05687eecb9c31643
imagePullPolicy: Always
ports:
- containerPort: 80