diff --git a/production/hello.yaml b/production/hello.yaml new file mode 100644 index 0000000..337d579 --- /dev/null +++ b/production/hello.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: hello + namespace: lasample + labels: + app: hello +spec: + selector: + matchLabels: + app: hello + template: + metadata: + labels: + app: hello + spec: + containers: + - name: hello + image: linuxacademycontent/gitops:hellov1.2 diff --git a/python/app.py b/python/app.py index 8388a3b..c6c628d 100644 --- a/python/app.py +++ b/python/app.py @@ -5,7 +5,7 @@ @app.route("/") def hello(): - return "Hello from QA!" + return "Hello from prod!" if __name__ == "__main__":