Skip to content

Commit

Permalink
Added default resources to initContainer (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
vertisan committed Jun 7, 2024
1 parent f524f73 commit d7568f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-mktxp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: prometheus-mikrotik-exporter
description: Prometheus Exporter for Mikrotik RouterOS devices.
type: application
version: 0.2.0
version: 0.3.0
appVersion: "v1.2.5"
home: https://github.com/akpw/mktxp
maintainers:
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-mktxp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
'-c',
'cp -pv /tmp/mktxp_config/* /mktxp_config/ && chown 100:101 /mktxp_config/*.conf'
]
resources:
limits:
cpu: 25m
memory: 64Mi
volumeMounts:
- name: config
mountPath: /mktxp_config/
Expand Down

0 comments on commit d7568f3

Please sign in to comment.