---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kubevirt-metrics-collector
  labels:
    kubevirt.io: ""
---
kind: SecurityContextConstraints
apiVersion: v1
metadata:
  name: scc-hostpath
allowPrivilegedContainer: true
runAsUser:
  type: RunAsAny
seLinuxContext:
  type: RunAsAny
fsGroup:
  type: RunAsAny
supplementalGroups:
  type: RunAsAny
users:
- system:serviceaccount:openshift-monitoring:kubevirt-metrics-collector
volumes:
- hostPath

