apiVersion: apps/v1
kind: Deployment
metadata:
  name: spring-petclinic
spec:
  replicas: 1
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      app: spring-petclinic
  template:
    metadata:
      labels:
        app: spring-petclinic
    spec:
      containers:
      # modify the following line with your Docker Hub account name
      - image: registry.10.200.133.37.xip.io/spring-petclinic/spring-petclinic:latest
        name: spring-petclinic
        ports:
        - containerPort: 8080
      imagePullSecrets:
        - name: harborsecret

