Skip to content

Instantly share code, notes, and snippets.

@tomaustin700
Created May 18, 2019 16:21
Show Gist options
  • Save tomaustin700/c04a6fb95d548a935c771e1b9cdbc8c9 to your computer and use it in GitHub Desktop.
Save tomaustin700/c04a6fb95d548a935c771e1b9cdbc8c9 to your computer and use it in GitHub Desktop.
kind: Namespace
apiVersion: v1
metadata:
name: $(namespace)
spec: {}
status: {}
---
kind: ServiceAccount
apiVersion: v1
metadata:
name: tiller
namespace: $(namespace)
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: tiller-manager
namespace: $(namespace)
rules:
- apiGroups: ["", "batch", "extensions", "apps"]
resources: ["*"]
verbs: ["*"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: tiller-binding
namespace: $(namespace)
subjects:
- kind: ServiceAccount
name: tiller
namespace: $(namespace)
roleRef:
kind: Role
name: tiller-manager
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment