diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-02-06 09:23:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 09:23:18 -0800 |
commit | fa6c7cc621ff05b35eadc846d3960ac2dc1009c0 (patch) | |
tree | 43e1137f4034514e88194e9109640f7b60817a2a /roles/openshift_logging_elasticsearch/templates/5.x/rolebinding.j2 | |
parent | 75e1741b2068f6b01a9e77db0c0518f5c0154822 (diff) | |
parent | 2e1598117fe896033a3f290820c8e8dfbc42bd81 (diff) | |
download | openshift-fa6c7cc621ff05b35eadc846d3960ac2dc1009c0.tar.gz openshift-fa6c7cc621ff05b35eadc846d3960ac2dc1009c0.tar.bz2 openshift-fa6c7cc621ff05b35eadc846d3960ac2dc1009c0.tar.xz openshift-fa6c7cc621ff05b35eadc846d3960ac2dc1009c0.zip |
Merge pull request #6628 from ewolinetz/es_5.x_opt_in
Automatic merge from submit-queue.
Es 5.x opt in
FYI @richm @jcantrill
Diffstat (limited to 'roles/openshift_logging_elasticsearch/templates/5.x/rolebinding.j2')
-rw-r--r-- | roles/openshift_logging_elasticsearch/templates/5.x/rolebinding.j2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_logging_elasticsearch/templates/5.x/rolebinding.j2 b/roles/openshift_logging_elasticsearch/templates/5.x/rolebinding.j2 new file mode 100644 index 000000000..fcd4e87cc --- /dev/null +++ b/roles/openshift_logging_elasticsearch/templates/5.x/rolebinding.j2 @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: RoleBinding +metadata: + name: {{obj_name}} +roleRef: +{% if roleRef.kind is defined %} + kind: {{ roleRef.kind }} +{% endif %} + name: {{ roleRef.name }} +subjects: +{% for sub in subjects %} + - kind: {{ sub.kind }} + name: {{ sub.name }} +{% endfor %} |