From 0b188908642d079014844ba4cd3f7bf1bf7cccd4 Mon Sep 17 00:00:00 2001 From: Atanas Petrov Date: Fri, 6 Dec 2024 18:46:29 +0200 Subject: [PATCH 1/3] checking blank page error --- service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.yml b/service.yml index 7631f6fe9..3432621dc 100644 --- a/service.yml +++ b/service.yml @@ -4,7 +4,7 @@ metadata: name: python-flask-hello-world spec: selector: - app.kubernetes.io/name: python-flask + app: python-flask ports: - protocol: TCP port: 80 From 0fd6759142b76050e33368c0457a2405b34ef036 Mon Sep 17 00:00:00 2001 From: Atanas Petrov Date: Fri, 6 Dec 2024 19:05:28 +0200 Subject: [PATCH 2/3] fixing minor yaml syntax --- deploy.yml | 3 ++- service.yml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy.yml b/deploy.yml index 1ad81dfd9..683c2c282 100644 --- a/deploy.yml +++ b/deploy.yml @@ -1,3 +1,4 @@ +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -19,4 +20,4 @@ spec: image: dxs01/ci:sha-3cbbebd ports: - containerPort: 5000 - \ No newline at end of file + diff --git a/service.yml b/service.yml index 3432621dc..e271f0621 100644 --- a/service.yml +++ b/service.yml @@ -1,3 +1,4 @@ +--- apiVersion: v1 kind: Service metadata: @@ -8,4 +9,5 @@ spec: ports: - protocol: TCP port: 80 - targetPort: 5000 \ No newline at end of file + targetPort: 5000 + From 66d330d15806c0a71733424c4ef61065a196f4a2 Mon Sep 17 00:00:00 2001 From: Atanas Petrov Date: Fri, 6 Dec 2024 19:06:59 +0200 Subject: [PATCH 3/3] fixing minor yaml syntax --- deploy.yml | 1 - service.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/deploy.yml b/deploy.yml index 683c2c282..c14cc0460 100644 --- a/deploy.yml +++ b/deploy.yml @@ -20,4 +20,3 @@ spec: image: dxs01/ci:sha-3cbbebd ports: - containerPort: 5000 - diff --git a/service.yml b/service.yml index e271f0621..7696a4530 100644 --- a/service.yml +++ b/service.yml @@ -10,4 +10,3 @@ spec: - protocol: TCP port: 80 targetPort: 5000 -