Skip to content

Commit

Permalink
Merge branch 'fix-limitrange-template' into 'master'
Browse files Browse the repository at this point in the history
Fix limitrange template

See merge request ansible-roles/osbs-namespace!22
  • Loading branch information
MartinBasti committed Nov 3, 2020
2 parents c1aa004 + 8cd2bb9 commit 0fb86a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/openshift-limitrange.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ spec:
- type: Container
defaultRequest:
cpu: {{ osbs_cpu_limitrange }}
{% if osbs_memory_limitrange %}
memory: {{ osbs_memory_limitrange }}
{% endif %}
{% if osbs_memory_limitrange %}memory: {{ osbs_memory_limitrange }}{% endif %}

0 comments on commit 0fb86a9

Please sign in to comment.