Skip to content

Commit

Permalink
Fix postgres-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Aug 12, 2024
1 parent 949c877 commit 94c5e4b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions scripts/test/postgres-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres
spec:
replicas: 1
selector:
matchLabels:
app: postgres
template:
metadata:
labels:
app: postgres
spec:
containers:

- name: postgres
image: bitnami/postgres:latest # Replace with desired Bitnami Postgres image
env:
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: postgres-postgresql
key: postgres-password
ports:
- containerPort: 5432

0 comments on commit 94c5e4b

Please sign in to comment.