allow setting project limits
| | |
| | | ocp_username: opentlc-mgr |
| | | silent: False |
| | | |
| | | project_limits: |
| | | limits: |
| | | - type: Container |
| | | max: |
| | | cpu: 2 |
| | | memory: 6Gi |
| | | default: |
| | | cpu: 500m |
| | | memory: 1.5Gi |
| | | defaultRequest: |
| | | cpu: 50m |
| | | memory: 256Mi |
| | | - type: Pod |
| | | max: |
| | | cpu: 2 |
| | | memory: 12Gi |
| | | |
| | | _project_request_message: "To provision Projects you must request access in https://labs.opentlc.com or https://rhpds.redhat.com." |
| | | _install_limit_range: True |
| | | _install_network_policies: True |
| | | _install_network_policies: True |
| | |
| | | name: ${PROJECT_NAME}-core-resource-limits |
| | | namespace: ${PROJECT_NAME} |
| | | spec: |
| | | limits: |
| | | - type: Container |
| | | max: |
| | | cpu: 2 |
| | | memory: 6Gi |
| | | default: |
| | | cpu: 500m |
| | | memory: 1.5Gi |
| | | defaultRequest: |
| | | cpu: 50m |
| | | memory: 256Mi |
| | | - type: Pod |
| | | max: |
| | | cpu: 2 |
| | | memory: 12Gi |
| | | {{ project_limits | to_json }} |
| | | {% endif %} |
| | | {% if _install_network_policies|bool %} |
| | | - kind: NetworkPolicy |