apiVersion: apps/v1
kind: Deployment
metadata:
  name: __CI_PROJECT_PATH_SLUG__
  annotations:
    app.gitlab.com/env: __CI_ENVIRONMENT_SLUG__
    app.gitlab.com/app: __CI_PROJECT_PATH_SLUG__
  labels:
    app: __CI_PROJECT_PATH_SLUG__
spec:
  replicas: 2
  selector:
    matchLabels:
      app: __CI_PROJECT_PATH_SLUG__
  template:
    metadata:
      annotations:
        app.gitlab.com/env: __CI_ENVIRONMENT_SLUG__
        app.gitlab.com/app: __CI_PROJECT_PATH_SLUG__
      labels:
        app: __CI_PROJECT_PATH_SLUG__
    spec:
      containers:
      - name: awe-boot
        image: registry.gitlab.com/aweframework/awe/awe-boot:latest
        imagePullPolicy: Always
        ports:
        - containerPort: 8080
        resources:
          limits:
            memory: 2Gi
          requests:
            memory: 256Mi
      imagePullSecrets:
        - name: registry.gitlab.com