Skip to content

Commit

Permalink
Update EKS-DEV-PRATHAM-DEPLOYMENT.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
muzafferjoya authored Jul 10, 2024
1 parent 8e48a6e commit 976d93c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/EKS-DEV-PRATHAM-DEPLOYMENT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@ jobs:
run: aws eks update-kubeconfig --name ${{ secrets.EKS_CLUSTER_NAME }} --region ${{ secrets.AWS_REGION_NAME }}
- name: Deploy to EKS
env:
ECR_REGISTRY: ${{ secrets.ECR_REPOSITORY }}
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }}
IMAGE_TAG: ${{ secrets.ECR_IMAGE_TAG }}
run: |
envsubst < manifest/notification-service.yaml > manifest/notification-service-updated.yaml
echo "Substituted YAML:"
cat manifest/notification-service-updated.yaml # Print the substituted file
echo "Validating YAML:"
python -c 'import yaml, sys; yaml.safe_load(sys.stdin)' < manifest/notification-service-updated.yaml # Validate YAML format
kubectl apply -f manifest/configmap.yaml
kubectl apply -f manifest/notification-service-updated.yaml
sleep 10
Expand Down

0 comments on commit 976d93c

Please sign in to comment.