Skip to content

Instantly share code, notes, and snippets.

@ralvares
Created February 17, 2023 09:06
Show Gist options
  • Save ralvares/5f5b184e3b8c5977c3a1fe15c0382009 to your computer and use it in GitHub Desktop.
Save ralvares/5f5b184e3b8c5977c3a1fe15c0382009 to your computer and use it in GitHub Desktop.
Integrating RHACS scanner with the internal ocp registry
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: stackrox
name: stackrox-image-puller
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: stackrox-image-puller-clusterrolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:image-puller
subjects:
- kind: ServiceAccount
name: stackrox-image-puller
namespace: stackrox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment