apiVersion: apps/v1
kind: Deployment
metadata:
  name: iter8-app-candidate
  labels:
    app: iter8-app-candidate
    version: v1
    app.kubernetes.io/instance: gitops
spec:
  replicas: 1
  selector:
    matchLabels:
      app: iter8-app-candidate
      version: v1
  template:
    metadata:
      labels:
        app: iter8-app-candidate
        version: v1
    spec:
      containers:
      - name: iter8-app-candidate
        image: image-registry.openshift-image-registry.svc:5000/default/helloworld:VERSION
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 8000
        env:
        - name: version
          value: VERSION
