Skip to content

Commit

Permalink
explicitly pull postgres images from docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderhavgaard committed Aug 14, 2023
1 parent 293011c commit e0c4d01
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions configmap-secrets/done/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app: postgres
spec:
containers:
- image: postgres:14.3
- image: docker.io/library/postgres:14.3
name: postgres
ports:
- containerPort: 5432
Expand All @@ -38,4 +38,3 @@ spec:
secretKeyRef:
name: postgres-secret
key: DB_PASSWORD

2 changes: 1 addition & 1 deletion configmap-secrets/start/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app: postgres
spec:
containers:
- image: postgres:14.3
- image: docker.io/library/postgres:14.3
name: postgres
ports:
- containerPort: 5432
Expand Down
2 changes: 1 addition & 1 deletion persistent-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ spec:
persistentVolumeClaim:
claimName: postgres-pvc # name of the actual pvc
containers:
- image: postgres:14.3
- image: docker.io/library/postgres:14.3
name: postgres
...
env:
Expand Down
2 changes: 1 addition & 1 deletion persistent-storage/done/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
persistentVolumeClaim:
claimName: postgres-pvc # name of the actual pvc
containers:
- image: postgres:14.3
- image: docker.io/library/postgres:14.3
name: postgres
ports:
- containerPort: 5432
Expand Down
2 changes: 1 addition & 1 deletion persistent-storage/start/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app: postgres
spec:
containers:
- image: postgres:14.3
- image: docker.io/library/postgres:14.3
name: postgres
ports:
- containerPort: 5432
Expand Down
2 changes: 1 addition & 1 deletion quotes-flask/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
persistentVolumeClaim:
claimName: postgres-pvc # name of the actual pvc
containers:
- image: postgres:14.3
- image: docker.io/library/postgres:14.3
name: postgres
ports:
- containerPort: 5432
Expand Down

0 comments on commit e0c4d01

Please sign in to comment.