apiVersion: apps/v1
kind: Deployment
metadata:
  name: frontend-deployment
  namespace: turniere-frontend
  labels:
    app: turniere-frontend
spec:
  replicas: 1
  selector:
    matchLabels:
      app: turniere-frontend
  template:
    metadata:
      labels:
        app: turniere-frontend
    spec:
      containers:
      - name: frontend-container
        image: registry.gitlab.com/turniere/turniere-frontend:<%= current_sha %>
        ports:
        - containerPort: 80
        env:
        - name: TURNIERE_API_URL
          value: 'https://api01.turnie.re'
