parametrize container

This commit is contained in:
Valentin Afanasev
2025-08-07 22:32:21 +03:00
parent 85aa6795d1
commit 819a109d93
2 changed files with 20 additions and 4 deletions

View File

@ -7,16 +7,16 @@ metadata:
spec:
containers:
- name: postgres
image: postgres:15
image: postgres:${POSTGRES_VERSION}
ports:
- containerPort: 5432
env:
- name: POSTGRES_PASSWORD
value: test
value: ${POSTGRES_PASSWORD}
- name: POSTGRES_USER
value: test
value: ${POSTGRES_USER}
- name: POSTGRES_DB
value: test
value: ${POSTGRES_DB}
readinessProbe:
exec:
command: ["pg_isready", "-U", "postgres"]