Updated CI. Removed helm config.
Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
31
deploy/kube/deployment.yml
Normal file
31
deploy/kube/deployment.yml
Normal 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"
|
Reference in New Issue
Block a user