Skip to content

Instantly share code, notes, and snippets.

@imosquera
Last active August 12, 2018 16:47
Show Gist options
  • Save imosquera/69e7410fec01ed9306a66c8315abab65 to your computer and use it in GitHub Desktop.
Save imosquera/69e7410fec01ed9306a66c8315abab65 to your computer and use it in GitHub Desktop.
# serviceaccount.yml
apiVersion: v1
kind: ServiceAccount
metadata:
name: spinnaker-service-account
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: spinnaker-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: spinnaker-service-account
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment