apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: s2i-dotnetcore-ex
  name: s2i-dotnetcore-ex
spec:
  replicas: 1
  selector:
    matchLabels:
      app: s2i-dotnetcore-ex
  template:
    metadata:
      labels:
        app: s2i-dotnetcore-ex
    spec:
      containers:
        - image: quay.io/openshift-pipeline/vote-api:latest
          imagePullPolicy: Always
          name: s2i-dotnetcore-ex
          ports:
            - containerPort: 8080
              protocol: TCP
