From d226d9b51e6eb1fe897d08e221dd28a34b35339c Mon Sep 17 00:00:00 2001 From: Jeff Cantrill Date: Thu, 9 Feb 2017 14:18:32 -0500 Subject: bug 1420538. Allow users to set supplementalGroup for Cassandra --- roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/openshift_metrics/templates') 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() %} -- cgit v1.2.3