Created
May 23, 2018 05:11
-
-
Save parj/1c9997a7e5a7bdf27943fd9013fbacbe to your computer and use it in GitHub Desktop.
Kubernetes role to read and write to pods for a namespace called Jenkins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: jenkins-readwrite | |
namespace: jenkins | |
rules: | |
- apiGroups: [""] # "" indicates the core API group | |
resources: ["pods"] | |
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment