Updated CI. Removed helm config.

Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
2021-08-08 14:18:38 +04:00
parent e6305d7ac2
commit 3caf075c13
8 changed files with 52 additions and 159 deletions

View File

@ -0,0 +1,31 @@
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: 10m
memory: 60Mi
envFrom:
- configMapRef:
name: "$ENVCONF"