Skip to content
Snippets Groups Projects
Commit 619fa4ed authored by Dobromir Palushev's avatar Dobromir Palushev
Browse files

deployment.yaml change

parent af30bd3c
No related branches found
No related tags found
28 merge requests!71A pipeline Job rename,!69Workflow updates,!68Workflow updates,!67Workflow updates,!65updated logic of the test-job,!63updated logic of the test-job,!61updated logic of the test-job,!59updated logic of the test-job,!57updated logic of the test-job,!55added "create-release-tag" job,!54updated logic of the test-job,!53Workflow updates,!51updated logic of the test-job,!49updated logic of the test-job,!48updated logic of the test-job,!46updated logic of the test-job,!44updated logic of the test-job,!43updated logic of the test-job,!42updated logic of the test-job,!41updated logic of the test-job,!40updated logic of the test-job,!39updated logic of the test-job,!38updated logic of the test-job,!36pipeline multiple updates,!35pipeline multiple updates,!34updated logic of the test-job,!33pipeline multiple updates,!32pipeline multiple updates
......@@ -134,7 +134,8 @@ deploy-image:
- kubectl apply -f secrets.yaml --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}"
- kubectl apply -f gitlab-registry-credentials.yaml --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}"
- kubectl apply -f configmap.yaml --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}"
- kubectl apply -f deployment.yaml --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}"
- DEPLOYMENT_MANIFEST=$(sed -e "s,{{image}},${IMAGE},g" ./deployment.yaml.tmpl)
- echo "${DEPLOYMENT_MANIFEST}" | kubectl apply --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}" --filename -
- kubectl apply -f service.yaml --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}"
- kubectl apply -f ingress.yaml --namespace "${ENVIRONMENT_NAME}-${K8S_NAMESPACE}"
......
......@@ -19,7 +19,7 @@ spec:
imagePullSecrets:
- name: 'gitlab-registry-credentials'
containers:
- image: devops-app
- image: {{image}}
name: todo-app-container
ports:
- containerPort: 3000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment