Skip to content

Instantly share code, notes, and snippets.

@mikeraimondi
Created August 24, 2018 16:32
Show Gist options
  • Save mikeraimondi/7d1912f182d7625c622c4e7e83728c15 to your computer and use it in GitHub Desktop.
Save mikeraimondi/7d1912f182d7625c622c4e7e83728c15 to your computer and use it in GitHub Desktop.
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: redis-rest
namespace: MY_NAMESPACE
rules:
- apiGroups: ['extensions']
resources: ['podsecuritypolicies']
verbs: ['use']
resourceNames:
- MY_POD_SECURITY_POLICY_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment