diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-11-16 02:59:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 02:59:34 -0800 |
commit | d8f0bac2523ed80dc4251901c437e902c08cbbab (patch) | |
tree | 1bb17727d2e559f04193eaaf6bedafdbf6d0ce63 /roles/openshift_cluster_autoscaler/files/role.yml | |
parent | c27a19e61a164969752445f436eadff990de5092 (diff) | |
parent | 4526f5457d012bc14c16b844bebc3eaeaa8ff191 (diff) | |
download | openshift-d8f0bac2523ed80dc4251901c437e902c08cbbab.tar.gz openshift-d8f0bac2523ed80dc4251901c437e902c08cbbab.tar.bz2 openshift-d8f0bac2523ed80dc4251901c437e902c08cbbab.tar.xz openshift-d8f0bac2523ed80dc4251901c437e902c08cbbab.zip |
Merge pull request #5729 from kwoodson/cluster_autoscaler
Automatic merge from submit-queue.
Adding support for cluster-autoscaler.
This is the kubernetes cluster-autoscaler role.
Features:
- Updated lib_openshift to handle --role-namespace when modifying/creating rolebindings for specific namespaced role objects
- openshift_cluster_autoscaler role to deploy the autoscaler
Diffstat (limited to 'roles/openshift_cluster_autoscaler/files/role.yml')
-rw-r--r-- | roles/openshift_cluster_autoscaler/files/role.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/roles/openshift_cluster_autoscaler/files/role.yml b/roles/openshift_cluster_autoscaler/files/role.yml new file mode 100644 index 000000000..c2abb5435 --- /dev/null +++ b/roles/openshift_cluster_autoscaler/files/role.yml @@ -0,0 +1,33 @@ +--- +apiVersion: v1 +kind: Role +metadata: + name: cluster-autoscaler +rules: +- apiGroups: + - "" + resources: + - configmaps + resourceNames: + - cluster-autoscaler + - cluster-autoscaler-status + verbs: + - create + - get + - patch + - update + attributeRestrictions: null +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + attributeRestrictions: null +- apiGroups: + - "" + resources: + - events + verbs: + - create + attributeRestrictions: null |