From d5c1eab1d2370bf70208f4b95af8e7256ec2e0df Mon Sep 17 00:00:00 2001 From: luka Date: Mon, 21 Nov 2022 13:29:08 +0100 Subject: [PATCH] Slight changes --- app.py | 2 +- k8s/{test-deployment.yaml => deployment.yaml} | 4 ++-- k8s/{test-service.yaml => service.yaml} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename k8s/{test-deployment.yaml => deployment.yaml} (88%) rename k8s/{test-service.yaml => service.yaml} (100%) diff --git a/app.py b/app.py index e69c7da..6aaa5ea 100644 --- a/app.py +++ b/app.py @@ -4,7 +4,7 @@ app = Flask(__name__) @app.route('/') def index(): - return "Hello world!!" + return "Hello world! If you are reading this congratulations!" if __name__ == "__main__": app.run(host="0.0.0.0", port=5000) diff --git a/k8s/test-deployment.yaml b/k8s/deployment.yaml similarity index 88% rename from k8s/test-deployment.yaml rename to k8s/deployment.yaml index c47d7b7..81a50a2 100644 --- a/k8s/test-deployment.yaml +++ b/k8s/deployment.yaml @@ -21,5 +21,5 @@ spec: imagePullPolicy: Always ports: - containerPort: 5000 - imagePullSecrets: - - name: luka-test-app-creds + # imagePullSecrets: + # - name: luka-test-app-creds diff --git a/k8s/test-service.yaml b/k8s/service.yaml similarity index 100% rename from k8s/test-service.yaml rename to k8s/service.yaml