---
apiVersion: v1
kind: Namespace
metadata:
  name: stackrox
  annotations:
    openshift.io/node-selector: ""
  labels:
    openshift.io/cluster-monitoring: "true"
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: sensor
  namespace: stackrox
  labels:
    app: sensor
    "app.kubernetes.io/name": stackrox  
spec:
  replicas: 1
  minReadySeconds: 15
  selector:
    matchLabels:
      app: sensor
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: sensor
    spec:
      containers:
      - image: quay.io/fedora/fedora-toolbox
        imagePullPolicy: Always
        name: sensor
        command: ["/bin/sh", "-c", "while true; do echo 'Hello, StackRox!'; sleep 3600; done"]
