Skip to content

Commit

Permalink
Merge pull request #58 from imrishuroy/k8-deployment
Browse files Browse the repository at this point in the history
refactor deployment files
  • Loading branch information
imrishuroy authored Sep 13, 2024
2 parents 944cdb7 + a090f9e commit effaf96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
IMAGE_TAG: ${{ env.IMAGE_TAG }}

run: |
kubectl apply -f eks/aws-auth.yaml
# kubectl apply -f eks/aws-auth.yaml
kubectl apply -f eks/deployment.yaml
kubectl apply -f eks/service.yaml
kubectl apply -f eks/issuer.yaml
Expand Down
4 changes: 2 additions & 2 deletions eks/aws-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: kube-system
data:
mapUsers: |
- userarn: arn:aws:iam::010928181431:user/github-ci
username: github-ci
- userarn: arn:aws:iam::021891590100:user/rishukumar.prince@gmail.com
username: rishukumar.prince@gmail.com
groups:
- system:masters
2 changes: 1 addition & 1 deletion eks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: legal-referral-api
image: 010928181431.dkr.ecr.ap-south-1.amazonaws.com/legalreferral:latest
image: 021891590100.dkr.ecr.us-east-1.amazonaws.com/legalreferral:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down

0 comments on commit effaf96

Please sign in to comment.