apiVersion: apps/v1
kind: Deployment
metadata:
  name: densify-operator
spec:
  replicas: 1
  selector:
    matchLabels:
      name: densify-operator
  template:
    metadata:
      labels:
        name: densify-operator
    spec:
      serviceAccountName: densify-operator
      containers:
        - name: densify-operator
          # Replace this with the built image name
          image: registry.connect.redhat.com/densify/densify-operator:v1.0.0
          imagePullPolicy: Always
          env:
            - name: WATCH_NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: OPERATOR_NAME
              value: "densify-operator"
            - name: RELATED_IMAGE_DENSIFY
              value: "registry.connect.redhat.com/densify/container-data-collection-forwarder:latest"
