diff --git a/.github/containers/python/python_test_app_deployment.yaml b/.github/containers/python/python_test_app_deployment.yaml index 3fd11e3..a19c362 100644 --- a/.github/containers/python/python_test_app_deployment.yaml +++ b/.github/containers/python/python_test_app_deployment.yaml @@ -2,33 +2,35 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: flask-hello-world + name: flask-app spec: selector: matchLabels: - app: flask-hello-world + app: flask-app replicas: 1 template: metadata: labels: - app: flask-hello-world + app: flask-app annotations: instrumentation.newrelic.com/inject-python: "true" spec: containers: - - name: flask-hello-world - image: ghcr.io/anuraaga/flask-hello-world:latest + - name: flask-app + build: + context: . + dockerfile: Dockerfile ports: - containerPort: 5000 --- apiVersion: v1 kind: Service metadata: - name: flask-hello-world-service + name: flask-app spec: type: ClusterIP ports: - port: 80 targetPort: 5000 selector: - app: flask-hello-world + app: flask-app