Created
May 29, 2018 15:40
-
-
Save rootfs/dd8e2f3bb8f7ef68e6a64e9efa0d8bb6 to your computer and use it in GitHub Desktop.
This file contains 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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: azure-file-ns | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: system:controller:persistent-volume-binder | |
namespace: azure-file-ns | |
rules: | |
- apiGroups: [""] | |
resources: ["secrets"] | |
verbs: ["create", "get", "delete"] | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
name: system:controller:persistent-volume-binder | |
namespace: azure-file-ns | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: system:controller:persistent-volume-binder | |
subjects: | |
- kind: ServiceAccount | |
name: persistent-volume-binder | |
namespace: kube-system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment