Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions roles/smartgateway/templates/deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ spec:
capabilities:
drop:
- ALL
resources:
limits:
cpu: '2'
memory: 8Gi
requests:
cpu: 300m
memory: 512Mi
args:
- -https-address=:8083
- -tls-cert=/etc/tls/private/tls.crt
Expand Down Expand Up @@ -68,6 +75,13 @@ spec:
capabilities:
drop:
- ALL
resources:
limits:
cpu: '2'
memory: 8Gi
requests:
cpu: 300m
memory: 512Mi
args:
{% if sg_vars.bridge.amqp_url is defined and sg_vars.bridge.amqp_url != "" %}
- --amqp_url
Expand Down Expand Up @@ -125,6 +139,13 @@ spec:
capabilities:
drop:
- ALL
resources:
limits:
cpu: '2'
memory: 8Gi
requests:
cpu: 300m
memory: 512Mi
args:
- -config
- /etc/sg-core/sg-core.conf.yaml
Expand Down
Loading