Skip to content

Instantly share code, notes, and snippets.

@dmarinere
Created June 30, 2022 21:44
Show Gist options
  • Save dmarinere/5030d3bba98878521f791cb0019a8f67 to your computer and use it in GitHub Desktop.
Save dmarinere/5030d3bba98878521f791cb0019a8f67 to your computer and use it in GitHub Desktop.
A Kubernetes Role example
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: ingress-nginx-admission
namespace: ingress-nginx
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment