Skip to content

Commit 5fa826d

Browse files
committed
fix postgre auth
1 parent e02fbf2 commit 5fa826d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cd-eks-gitops.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ jobs:
279279
needs: [build-production]
280280
runs-on: ubuntu-latest
281281
timeout-minutes: 35
282-
environment: production
282+
environment: prod
283283
permissions:
284284
contents: read
285285
id-token: write

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ FROM python:${PYTHON_VERSION}-slim
2323

2424
WORKDIR /app
2525

26-
# Create non-root user for security
27-
RUN groupadd -r appuser && useradd -r -g appuser appuser
26+
# Create non-root user for security (UID/GID 1000 to match K8s securityContext)
27+
RUN groupadd -g 1000 appuser && useradd -u 1000 -g appuser -m appuser
2828

2929
# Install runtime dependencies only
3030
RUN apt-get update && apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)