apiVersion: v1
kind: List
metadata: {}
items:
  - apiVersion: image.openshift.io/v1
    kind: ImageStream
    metadata:
      name: collector-sysstat
    spec:
      lookupPolicy:
        local: false
      tags:
        - name: latest
  - apiVersion: build.openshift.io/v1
    kind: BuildConfig
    metadata:
      name: collector-sysstat
      labels:
        build: collector-sysstat
        build-config: collector-sysstat
    spec:
      output:
        to:
          kind: ImageStreamTag
          name: collector-sysstat:latest
      source:
        git:
          uri: https://git.p0f.net/gregab/linux-metrics-exporter.git
          ref: main
        contextDir: images
      strategy:
        type: Docker
        dockerStrategy:
          dockerfilePath: Containerfile-sysstat
          from:
            kind: ImageStreamTag
            name: ubi-minimal:latest
          volumes:
            - source:
                type: Secret
                secret:
                  secretName: etc-pki-entitlement
              name: etc-pki-entitlement
              mounts:
                - destinationPath: /etc/pki/entitlement
            - source:
                type: Secret
                secret:
                  secretName: rhsm-ca
              name: rhsm-ca
              mounts:
                - destinationPath: /etc/rhsm/ca