apiVersion: apps/v1
kind: Deployment
metadata:
  name: product-service-api-deployment
  namespace: boathouse-test
spec:
  replicas: 1
  selector: 
    matchLabels:
      app: product-service-api
  template:
    metadata:
      labels:
        app: product-service-api
    spec:
      containers:
      - image: docker.pkg.github.com/idcf-boat-house/boat-house/product_service_api:latest
        name: product-service-api
        ports:
        - containerPort: 8080
      imagePullSecrets:
      - name: regcred
      restartPolicy: Always