diff options
author | ewolinetz <ewolinet@redhat.com> | 2017-08-02 10:33:25 -0500 |
---|---|---|
committer | ewolinetz <ewolinet@redhat.com> | 2017-08-02 10:53:42 -0500 |
commit | 59be7a3a6d44d261c3a592b00e589fce3d50d435 (patch) | |
tree | 20267f919fd8c73220657f155f8de8c3c7649ea1 /roles/openshift_metrics | |
parent | f6e0126c3cda6622fc2371b3b603108b94ed9d39 (diff) | |
download | openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.tar.gz openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.tar.bz2 openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.tar.xz openshift-59be7a3a6d44d261c3a592b00e589fce3d50d435.zip |
Fixing SA and clusterrole namespaces
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r-- | roles/openshift_metrics/tasks/generate_rolebindings.yaml | 2 | ||||
-rw-r--r-- | roles/openshift_metrics/tasks/generate_serviceaccounts.yaml | 2 |
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 |