apiVersion: apps/v1 kind: Deployment metadata: name: lenochka annotations: app.gitlab.com/env: $CI_ENVIRONMENT_SLUG app.gitlab.com/app: $CI_PROJECT_PATH_SLUG spec: selector: matchLabels: app: lenochka-bot template: metadata: annotations: app.gitlab.com/env: $CI_ENVIRONMENT_SLUG app.gitlab.com/app: $CI_PROJECT_PATH_SLUG labels: app: lenochka-bot spec: imagePullSecrets: - name: "$PULL_SECRET" containers: - name: lenochka-bot image: docker.le-memese.com/bots/lenochka-bot:$APP_VERSION resources: limits: cpu: "$K8S_CPU_LIMITS" memory: "$K8S_MEM_LIMITS" envFrom: - configMapRef: name: "$ENVCONF"