summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-08-02 10:33:25 -0500
committerewolinetz <ewolinet@redhat.com>2017-08-02 10:53:42 -0500
commit59be7a3a6d44d261c3a592b00e589fce3d50d435 (patch)
tree20267f919fd8c73220657f155f8de8c3c7649ea1 /roles
parentf6e0126c3cda6622fc2371b3b603108b94ed9d39 (diff)
downloadopenshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.tar.gz
openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.tar.bz2
openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.tar.xz
openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.zip
Fixing SA and clusterrole namespaces
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_metrics/tasks/generate_rolebindings.yaml2
-rw-r--r--roles/openshift_metrics/tasks/generate_serviceaccounts.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_metrics/tasks/generate_rolebindings.yaml b/roles/openshift_metrics/tasks/generate_rolebindings.yaml
index 9882b1eb5..407d3196f 100644
--- a/roles/openshift_metrics/tasks/generate_rolebindings.yaml
+++ b/roles/openshift_metrics/tasks/generate_rolebindings.yaml
@@ -41,7 +41,7 @@
- name: Set hawkular cluster roles
oc_obj:
name: hawkular-metrics
- namespace: "{{ openshift_metrics_hawkular_agent_namespace }}"
+ namespace: "{{ openshift_metrics_project }}"
kind: clusterrole
files:
- "{{ mktemp.stdout }}/templates/hawkular-cluster-role.yaml"
diff --git a/roles/openshift_metrics/tasks/generate_serviceaccounts.yaml b/roles/openshift_metrics/tasks/generate_serviceaccounts.yaml
index db27680fe..874b89e52 100644
--- a/roles/openshift_metrics/tasks/generate_serviceaccounts.yaml
+++ b/roles/openshift_metrics/tasks/generate_serviceaccounts.yaml
@@ -18,7 +18,7 @@
oc_obj:
name: "{{ item }}"
kind: serviceaccount
- namespace: "{{ openshift_metrics_hawkular_agent_namespace }}"
+ namespace: "{{ openshift_metrics_project }}"
files:
- "{{ mktemp.stdout }}/templates/metrics-{{ item }}-sa.yaml"
delete_after: true