From e0c4d01ae58e27aef08fc31917c8412e794f5218 Mon Sep 17 00:00:00 2001 From: zanderhavgaard Date: Mon, 14 Aug 2023 22:06:13 +0200 Subject: [PATCH] explicitly pull postgres images from docker hub --- configmap-secrets/done/postgres-deployment.yaml | 3 +-- configmap-secrets/start/postgres-deployment.yaml | 2 +- persistent-storage.md | 2 +- persistent-storage/done/postgres-deployment.yaml | 2 +- persistent-storage/start/postgres-deployment.yaml | 2 +- quotes-flask/postgres-deployment.yaml | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/configmap-secrets/done/postgres-deployment.yaml b/configmap-secrets/done/postgres-deployment.yaml index 496e679..7c61208 100644 --- a/configmap-secrets/done/postgres-deployment.yaml +++ b/configmap-secrets/done/postgres-deployment.yaml @@ -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 @@ -38,4 +38,3 @@ spec: secretKeyRef: name: postgres-secret key: DB_PASSWORD - diff --git a/configmap-secrets/start/postgres-deployment.yaml b/configmap-secrets/start/postgres-deployment.yaml index c13dbea..333fb3a 100644 --- a/configmap-secrets/start/postgres-deployment.yaml +++ b/configmap-secrets/start/postgres-deployment.yaml @@ -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 diff --git a/persistent-storage.md b/persistent-storage.md index 73727c1..ffdee4f 100644 --- a/persistent-storage.md +++ b/persistent-storage.md @@ -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: diff --git a/persistent-storage/done/postgres-deployment.yaml b/persistent-storage/done/postgres-deployment.yaml index 934c34c..577b6f6 100644 --- a/persistent-storage/done/postgres-deployment.yaml +++ b/persistent-storage/done/postgres-deployment.yaml @@ -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 diff --git a/persistent-storage/start/postgres-deployment.yaml b/persistent-storage/start/postgres-deployment.yaml index f6eaf77..fa5c66e 100644 --- a/persistent-storage/start/postgres-deployment.yaml +++ b/persistent-storage/start/postgres-deployment.yaml @@ -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 diff --git a/quotes-flask/postgres-deployment.yaml b/quotes-flask/postgres-deployment.yaml index 934c34c..577b6f6 100644 --- a/quotes-flask/postgres-deployment.yaml +++ b/quotes-flask/postgres-deployment.yaml @@ -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