move kubedns rbac to specific role
This commit is contained in:
parent
8d898778f5
commit
f1d366779e
5 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,6 @@
|
||||||
src: "{{item.file}}"
|
src: "{{item.file}}"
|
||||||
dest: "{{kube_config_dir}}/{{item.file}}"
|
dest: "{{kube_config_dir}}/{{item.file}}"
|
||||||
with_items:
|
with_items:
|
||||||
- {name: kubedns, file: kubedns-serviceaccount.yml, type: serviceaccount}
|
|
||||||
- {name: kubedns, file: kubedns-clusterrole.yml, type: clusterrole}
|
|
||||||
- {name: kubedns, file: kubedns-clusterrolebinding.yml, type: clusterrolebinding}
|
|
||||||
- {name: kubedns, file: kubedns-deploy.yml, type: deployment}
|
- {name: kubedns, file: kubedns-deploy.yml, type: deployment}
|
||||||
- {name: kubedns, file: kubedns-svc.yml, type: svc}
|
- {name: kubedns, file: kubedns-svc.yml, type: svc}
|
||||||
- {name: kubedns-autoscaler, file: kubedns-autoscaler.yml, type: deployment}
|
- {name: kubedns-autoscaler, file: kubedns-autoscaler.yml, type: deployment}
|
||||||
|
|
|
@ -13,6 +13,9 @@
|
||||||
- {name: cluster-proportional-autoscaler, file: cluster-proportional-autoscaler-serviceaccount.yml, type: serviceaccount}
|
- {name: cluster-proportional-autoscaler, file: cluster-proportional-autoscaler-serviceaccount.yml, type: serviceaccount}
|
||||||
- {name: cluster-proportional-autoscaler, file: cluster-proportional-autoscaler-clusterrole.yml, type: clusterrole}
|
- {name: cluster-proportional-autoscaler, file: cluster-proportional-autoscaler-clusterrole.yml, type: clusterrole}
|
||||||
- {name: cluster-proportional-autoscaler, file: cluster-proportional-autoscaler-clusterrolebinding.yml, type: clusterrolebinding}
|
- {name: cluster-proportional-autoscaler, file: cluster-proportional-autoscaler-clusterrolebinding.yml, type: clusterrolebinding}
|
||||||
|
- {name: kubedns, file: kubedns-serviceaccount.yml, type: serviceaccount}
|
||||||
|
- {name: kubedns, file: kubedns-clusterrole.yml, type: clusterrole}
|
||||||
|
- {name: kubedns, file: kubedns-clusterrolebinding.yml, type: clusterrolebinding}
|
||||||
- {name: 'custom:system:kube-dns', file: 'custom:system:kube-dns-clusterrole.yml', type: clusterrole}
|
- {name: 'custom:system:kube-dns', file: 'custom:system:kube-dns-clusterrole.yml', type: clusterrole}
|
||||||
- {name: 'custom:system:kube-dns', file: 'custom:system:kube-dns-clusterrolebinding.yml', type: clusterrolebinding}
|
- {name: 'custom:system:kube-dns', file: 'custom:system:kube-dns-clusterrolebinding.yml', type: clusterrolebinding}
|
||||||
- {name: fluentd, file: fluentd-clusterrole.yml, type: clusterrole}
|
- {name: fluentd, file: fluentd-clusterrole.yml, type: clusterrole}
|
||||||
|
|
Loading…
Reference in a new issue