From 1673e6534cb2f3fb57c234f526d5cc4c7dc86290 Mon Sep 17 00:00:00 2001 From: "Christian R. Garcia" Date: Thu, 25 Jan 2024 11:13:13 -0800 Subject: [PATCH] Pinning template Postgres version --- service/kubernetes_templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/kubernetes_templates.py b/service/kubernetes_templates.py index 735410e..e364580 100644 --- a/service/kubernetes_templates.py +++ b/service/kubernetes_templates.py @@ -58,7 +58,7 @@ def start_postgres_pod(pod, revision: int): container = { "name": pod.k8_name, "revision": revision, - "image": "postgres", + "image": "postgres:15", "command": ["docker-entrypoint.sh"], "args": [ "-c", "ssl=on", @@ -240,4 +240,4 @@ def start_generic_pod(pod, image, revision: int): # Create init_container, container, and service. create_pod(**container) - create_service(name = pod.k8_name, ports_dict = ports_dict) \ No newline at end of file + create_service(name = pod.k8_name, ports_dict = ports_dict)