diff options
author | Jeff Cantrill <jcantril@redhat.com> | 2017-02-09 14:18:32 -0500 |
---|---|---|
committer | Jeff Cantrill <jcantril@redhat.com> | 2017-02-09 14:18:32 -0500 |
commit | d226d9b51e6eb1fe897d08e221dd28a34b35339c (patch) | |
tree | d24091a80f2737a9607aff5acca00eeeb2c70a24 /roles/openshift_metrics/templates | |
parent | 8b6f88ea657662fb6724c2d4863b6c954f9580d8 (diff) | |
download | openshift-d226d9b51e6eb1fe897d08e221dd28a34b35339c.tar.gz openshift-d226d9b51e6eb1fe897d08e221dd28a34b35339c.tar.bz2 openshift-d226d9b51e6eb1fe897d08e221dd28a34b35339c.tar.xz openshift-d226d9b51e6eb1fe897d08e221dd28a34b35339c.zip |
bug 1420538. Allow users to set supplementalGroup for Cassandra
Diffstat (limited to 'roles/openshift_metrics/templates')
-rw-r--r-- | roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 b/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 index 6f6efc469..504476dc4 100644 --- a/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 +++ b/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 @@ -19,6 +19,9 @@ spec: type: hawkular-cassandra spec: serviceAccount: cassandra + securityContext: + supplementalGroups: + - {{openshift_metrics_cassandra_storage_group}} {% if node_selector is iterable and node_selector | length > 0 %} nodeSelector: {% for key, value in node_selector.iteritems() %} |