diff --git a/deploy.yml b/deploy.yml index 1ad81dfd9..c14cc0460 100644 --- a/deploy.yml +++ b/deploy.yml @@ -1,3 +1,4 @@ +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -19,4 +20,3 @@ spec: image: dxs01/ci:sha-3cbbebd ports: - containerPort: 5000 - \ No newline at end of file diff --git a/service.yml b/service.yml index 7631f6fe9..7696a4530 100644 --- a/service.yml +++ b/service.yml @@ -1,11 +1,12 @@ +--- apiVersion: v1 kind: Service metadata: name: python-flask-hello-world spec: selector: - app.kubernetes.io/name: python-flask + app: python-flask ports: - protocol: TCP port: 80 - targetPort: 5000 \ No newline at end of file + targetPort: 5000