Browse Source

Merge pull request #7704 from ewolinetz/patch_namespace_fix

Removing hardcoding of configmap_namespace for patching
Scott Dodson 7 years ago
parent
commit
6bdc55b9e1

+ 2 - 2
roles/openshift_logging_curator/tasks/main.yaml

@@ -110,7 +110,7 @@
         tasks_from: patch_configmap_files.yaml
       vars:
         configmap_name: "logging-curator"
-        configmap_namespace: "logging"
+        configmap_namespace: "{{ openshift_logging_namespace }}"
         configmap_file_names:
           - current_file: "config.yaml"
             new_file: "{{ tempdir }}/curator.yml"
@@ -179,7 +179,7 @@
         tasks_from: patch_configmap_files.yaml
       vars:
         configmap_name: "logging-curator"
-        configmap_namespace: "logging"
+        configmap_namespace: "{{ openshift_logging_namespace }}"
         configmap_file_names:
           - current_file: "actions.yaml"
             new_file: "{{ tempdir }}/actions.yaml"

+ 2 - 2
roles/openshift_logging_elasticsearch/tasks/main.yaml

@@ -231,7 +231,7 @@
       tasks_from: patch_configmap_files.yaml
     vars:
       configmap_name: "{{ elasticsearch_name }}"
-      configmap_namespace: "logging"
+      configmap_namespace: "{{ openshift_logging_namespace }}"
       configmap_file_names:
       - current_file: "elasticsearch.yml"
         new_file: "{{ tempdir }}/elasticsearch.yml"
@@ -275,7 +275,7 @@
       tasks_from: patch_configmap_files.yaml
     vars:
       configmap_name: "{{ elasticsearch_name }}"
-      configmap_namespace: "logging"
+      configmap_namespace: "{{ openshift_logging_namespace }}"
       configmap_file_names:
       - current_file: "elasticsearch.yml"
         new_file: "{{ tempdir }}/elasticsearch.yml"

+ 1 - 1
roles/openshift_logging_fluentd/tasks/main.yaml

@@ -120,7 +120,7 @@
     tasks_from: patch_configmap_files.yaml
   vars:
     configmap_name: "logging-fluentd"
-    configmap_namespace: "logging"
+    configmap_namespace: "{{ openshift_logging_namespace }}"
     configmap_file_names:
       - current_file: "fluent.conf"
         new_file: "{{ tempdir }}/fluent.conf"