fix deploy config

This commit is contained in:
2022-09-19 11:06:00 +07:00
parent 274d7379d7
commit 3ca9072e10
2 changed files with 3 additions and 5 deletions

View File

@@ -58,8 +58,6 @@ test-api:
deploy: deploy:
image: gcr.io/cloud-builders/kubectl:latest image: gcr.io/cloud-builders/kubectl:latest
stage: deploy stage: deploy
variables:
DOCKER_IMAGE: "cr.yandex/${YA_DOCKER_REGISTRY}/${DOCKER_IMAGE}"
needs: needs:
- pre-build - pre-build
- docker-build - docker-build

View File

@@ -13,12 +13,12 @@ spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: hello app: python-api
template: template:
metadata: metadata:
namespace: hello-world namespace: python-api
labels: labels:
app: hello app: python-api
spec: spec:
containers: containers:
- name: python_api - name: python_api