Skip to content

feat: use .env POSTGRES_PASSWORD for PostgreSQL deployment#35

Closed
jhirb wants to merge 3 commits intomainfrom
feat/use-env-postgres-password
Closed

feat: use .env POSTGRES_PASSWORD for PostgreSQL deployment#35
jhirb wants to merge 3 commits intomainfrom
feat/use-env-postgres-password

Conversation

@jhirb
Copy link
Collaborator

@jhirb jhirb commented Jan 29, 2026

  • Mise à jour du Makefile pour injecter les variables d'environnement dans pgsql-deployment.yaml
    Cela permet de configurer le mot de passe PostgreSQL via le fichier .env au lieu d'être codé en dur dans le YAML de déploiement.

- Update Makefile to inject env variables into pgsql-deployment.yaml using envsubst
- Replace hardcoded PostgreSQL credentials with  and  variables
- Fix README.md to start Colima before minikube to avoid configuration conflicts

This allows the PostgreSQL password to be configured via the .env file instead of being hardcoded in the deployment YAML.
Use real Kubernetes client classes (V1ConfigMap, V1ObjectMeta) instead of
mocking them, allowing proper label validation in tests.
@philippestepniewski philippestepniewski deleted the feat/use-env-postgres-password branch March 4, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants