apiVersion: apps/v1
kind: Deployment
metadata:
  name: registry
  namespace: ci-cd
  labels:
    app: registry
spec:
  replicas: 1
  selector:
    matchLabels:
      app: registry
  template:
    metadata:
      labels:
        app: registry
    spec:
      containers:
      - name: registry
        image: registry 
        ports:
        - containerPort: 5000