Skip to content

Commit

Permalink
Merge pull request #41 from GabrielNathan12/hotfix/corrigindo-github-…
Browse files Browse the repository at this point in the history
…actions

feat: Corrido Read Me e CI/CD
  • Loading branch information
GabrielNathan12 authored Aug 20, 2024
2 parents 154ecf2 + 876cddb commit c4c2ed5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ jobs:
- name: Run Tests
run: |
minikube addons enable ingress
kubectl get pods
kubectl get all
kubectl get ingress
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,22 @@ O projeto é um gerenciador de tarefas com um bot inteligente incluso, onde atra
```
4. **Obtenha o IP do frontend no cluster**
- Foi usado o minikube no desenvolvimento desse projeto, então o processo de ativação do Ingress pode ser um pouco diferente, em ambientes como Kind.
- Ative o cert manager no cluster, com os seguintes comandos.
```bash
kubectl apply --validate=false -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.5/cert-manager.crds.yaml
```
```bash
helm repo add jetstack https://charts.jetstack.io
```
```bash
helm repo update
```
```bash
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.12.5
```
```bash
kubectl wait --namespace cert-manager --for=condition=available deployment/cert-manager --timeout=120s
```
- Se estiver usando o minikube, ative o Ingress com esse seguinte comando.
```bash
minikube addons enable ingress
Expand Down

0 comments on commit c4c2ed5

Please sign in to comment.