feat(nut-exporter): Add tests and serviceaccount
This patch adjusts the helm chart to become more standardised. It uses helm unittest to valdiate changes as well as implementing a serviceaccount as best practice. It also goes back to all the default helm helpers for labels, names etc.
Showing
- charts/nut-exporter/Chart.yaml 1 addition, 1 deletioncharts/nut-exporter/Chart.yaml
- charts/nut-exporter/README.md 4 additions, 1 deletioncharts/nut-exporter/README.md
- charts/nut-exporter/templates/_helpers.tpl 40 additions, 8 deletionscharts/nut-exporter/templates/_helpers.tpl
- charts/nut-exporter/templates/configmap-dashboard.yaml 1 addition, 1 deletioncharts/nut-exporter/templates/configmap-dashboard.yaml
- charts/nut-exporter/templates/deployment.yaml 1 addition, 0 deletionscharts/nut-exporter/templates/deployment.yaml
- charts/nut-exporter/templates/podmonitor.yaml 1 addition, 1 deletioncharts/nut-exporter/templates/podmonitor.yaml
- charts/nut-exporter/templates/prometheus-rules.yaml 1 addition, 1 deletioncharts/nut-exporter/templates/prometheus-rules.yaml
- charts/nut-exporter/templates/serviceaccount.yaml 12 additions, 0 deletionscharts/nut-exporter/templates/serviceaccount.yaml
- charts/nut-exporter/tests/__snapshot__/snapshot_test.yaml.snap 171 additions, 0 deletions...s/nut-exporter/tests/__snapshot__/snapshot_test.yaml.snap
- charts/nut-exporter/tests/helmlabels_test.yaml 23 additions, 0 deletionscharts/nut-exporter/tests/helmlabels_test.yaml
- charts/nut-exporter/tests/snapshot_test.yaml 14 additions, 0 deletionscharts/nut-exporter/tests/snapshot_test.yaml
- charts/nut-exporter/values.yaml 8 additions, 0 deletionscharts/nut-exporter/values.yaml
charts/nut-exporter/tests/snapshot_test.yaml
0 → 100644
Please register or sign in to comment