c12s-kubespray/roles/kubernetes-apps/registry/templates/registry-proxy-cr.yml.j2

15 lines
280 B
Django/Jinja

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: psp:registry-proxy
namespace: {{ registry_namespace }}
rules:
- apiGroups:
- policy
resourceNames:
- registry-proxy
resources:
- podsecuritypolicies
verbs:
- use