Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #183 from Grupo-G03-4SOAT-FIAP/feature/97/sonar
Browse files Browse the repository at this point in the history
Feature/97/sonar
  • Loading branch information
dannevesdantas authored Apr 13, 2024
2 parents 8b518fd + 2db4a00 commit 99b9ebc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion k8s/development/bff/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
labels:
app: rms-bff
spec:
automountServiceAccountToken: false
containers:
- name: rms-bff
image: rms-bff:latest # No Kubernetes do Docker Desktop a imagem deve já estar presente no cache de imagens do Docker na máquina local
Expand Down Expand Up @@ -48,4 +49,4 @@ spec:
memory: "256Mi"
limits:
cpu: "0.5"
memory: "1Gi"
memory: "1Gi"
4 changes: 3 additions & 1 deletion k8s/development/postgres/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
labels:
app: postgres
spec:
automountServiceAccountToken: false
containers:
- name: postgres
image: postgres:16.1 # Sets Image
Expand Down Expand Up @@ -45,7 +46,8 @@ spec:
limits:
cpu: "2"
memory: "4Gi"
ephemeral-storage: "2Gi"
volumes:
- name: postgredb
persistentVolumeClaim:
claimName: postgres-pv-claim
claimName: postgres-pv-claim
3 changes: 2 additions & 1 deletion k8s/production/bff/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
app: rms-bff
spec:
serviceAccountName: aws-iam-serviceaccount # ServiceAccount com Role que permite acesso ao AWS Secrets Manager
automountServiceAccountToken: false
volumes:
- name: secrets-store-inline
csi:
Expand Down Expand Up @@ -94,4 +95,4 @@ spec:
memory: "256Mi"
limits:
cpu: "0.5"
memory: "1Gi"
memory: "1Gi"

0 comments on commit 99b9ebc

Please sign in to comment.