Skip to content

Instantly share code, notes, and snippets.

@jona7o
Created March 18, 2019 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jona7o/85b2ef3d9f586de7e6ff57c5fb1ea2fb to your computer and use it in GitHub Desktop.
Save jona7o/85b2ef3d9f586de7e6ff57c5fb1ea2fb to your computer and use it in GitHub Desktop.
helm service account k8s
apiVersion: v1
kind: ServiceAccount
metadata:
name: helm
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: helm
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: helm
namespace: kube-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment