diff options
author | Jeff Cantrill <jcantril@redhat.com> | 2017-10-25 15:48:29 -0400 |
---|---|---|
committer | Jeff Cantrill <jcantril@redhat.com> | 2017-10-25 15:48:29 -0400 |
commit | 28ebfa656bc3fd99d33239fc346570da672d5f71 (patch) | |
tree | e83fe183d6cce5fb25009a0f6e35fb49310e82a2 /roles/openshift_logging | |
parent | 8c85dd660d5b380edb8e91f90505b43a70bf871e (diff) | |
download | openshift-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')
-rw-r--r-- | roles/openshift_logging/tasks/install_logging.yaml | 8 |
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" |