29 lines
711 B
YAML
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:8919ad15abfe5d924599064572f676050ed7011f
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80
|