summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-10-25 15:48:29 -0400
committerJeff Cantrill <jcantril@redhat.com>2017-10-25 15:48:29 -0400
commit28ebfa656bc3fd99d33239fc346570da672d5f71 (patch)
treee83fe183d6cce5fb25009a0f6e35fb49310e82a2 /roles/openshift_logging/tasks
parent8c85dd660d5b380edb8e91f90505b43a70bf871e (diff)
downloadopenshift-28ebfa656bc3fd99d33239fc346570da672d5f71.tar.gz
openshift-28ebfa656bc3fd99d33239fc346570da672d5f71.tar.bz2
openshift-28ebfa656bc3fd99d33239fc346570da672d5f71.tar.xz
openshift-28ebfa656bc3fd99d33239fc346570da672d5f71.zip
bug 1501599. Omit logging project from overcommit restrictions
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r--roles/openshift_logging/tasks/install_logging.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/install_logging.yaml b/roles/openshift_logging/tasks/install_logging.yaml
index 76627acf2..3f705d02c 100644
--- a/roles/openshift_logging/tasks/install_logging.yaml
+++ b/roles/openshift_logging/tasks/install_logging.yaml
@@ -36,6 +36,14 @@
- openshift_logging_label_key != ""
- openshift_logging_label_value is defined
+- name: Annotate Logging Project to allow overcommit
+ oc_edit:
+ kind: ns
+ name: "{{ openshift_logging_namespace }}"
+ separator: '#'
+ content:
+ metadata#annotations#quota.openshift.io/cluster-resource-override-enabled: "false"
+
- name: Create logging cert directory
file:
path: "{{ openshift.common.config_base }}/logging"