Skip to content

Instantly share code, notes, and snippets.

@yurenju
Created April 18, 2019 09:27
Show Gist options
  • Select an option

  • Save yurenju/a68c1ec077912068b99c3c69b4eccf83 to your computer and use it in GitHub Desktop.

Select an option

Save yurenju/a68c1ec077912068b99c3c69b4eccf83 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ServiceAccount
metadata:
name: vault-auth-service-account
namespace: default
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: vault-auth-role-binding
namespace: default
subjects:
- kind: ServiceAccount
name: vault-auth-service-account
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment