Refactor auth-service to iam-service and update related configurations

- Renamed auth-service to iam-service across various files for consistency.
- Updated deployment workflows, database migration scripts, and documentation to reflect the service name change.
- Enhanced bilingual documentation for clarity on the new service structure and usage.
- Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
This commit is contained in:
Ho Ngoc Hai
2025-12-30 21:03:00 +07:00
parent b104fafa85
commit 019c79b898
23 changed files with 57 additions and 58 deletions

View File

@@ -29,7 +29,7 @@ jobs:
- name: Run database migrations
run: |
cd services/auth-service
cd services/iam-service
pnpm prisma generate
pnpm prisma migrate deploy
env:
@@ -43,13 +43,13 @@ jobs:
echo "${{ secrets.KUBECONFIG_PRODUCTION }}" | base64 -d > kubeconfig
export KUBECONFIG=./kubeconfig
- name: Deploy Auth Service
- name: Deploy IAM Service
run: |
export KUBECONFIG=./kubeconfig
kubectl apply -f deployments/production/kubernetes/auth-service.yaml
kubectl apply -f deployments/production/kubernetes/configmap.yaml
kubectl apply -f deployments/production/kubernetes/iam-service.yaml
kubectl apply -f deployments/production/kubernetes/iam-service-configmap.yaml
kubectl apply -f deployments/production/kubernetes/ingress.yaml
kubectl rollout status deployment/auth-service -n production
kubectl rollout status deployment/iam-service -n production
- name: Deploy Web App
run: |