diff --git a/charts/kube-resource-report/Chart.yaml b/charts/kube-resource-report/Chart.yaml index b77da97..6a57a50 100644 --- a/charts/kube-resource-report/Chart.yaml +++ b/charts/kube-resource-report/Chart.yaml @@ -3,7 +3,7 @@ name: kube-resource-report description: |- Helm chart to deploy [kube-resource-report](https://codeberg.org/hjacobs/kube-resource-report). type: application -version: 0.0.3 +version: 0.0.4 appVersion: "20.10.0" home: https://github.com/slamdev/helm-charts/tree/master/charts/kube-resource-report icon: https://i.stack.imgur.com/mwFzF.png diff --git a/charts/kube-resource-report/README.md b/charts/kube-resource-report/README.md index 8f1dfd2..f2c1936 100644 --- a/charts/kube-resource-report/README.md +++ b/charts/kube-resource-report/README.md @@ -1,6 +1,6 @@ # kube-resource-report -![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.10.0](https://img.shields.io/badge/AppVersion-20.10.0-informational?style=flat-square) +![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.10.0](https://img.shields.io/badge/AppVersion-20.10.0-informational?style=flat-square) Helm chart to deploy [kube-resource-report](https://codeberg.org/hjacobs/kube-resource-report). @@ -18,6 +18,7 @@ Helm chart to deploy [kube-resource-report](https://codeberg.org/hjacobs/kube-re |-----|------|---------|-------------| | affinity | object | `{}` | affinity for scheduler pod assignment | | app.resources | object | `{}` | custom resource configuration | +| args | list | `[]` | extra args to pass to container | | env | string | `nil` | environment variables for the deployment | | fullnameOverride | string | `""` | full name of the chart. | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy | diff --git a/charts/kube-resource-report/templates/deployment.yaml b/charts/kube-resource-report/templates/deployment.yaml index d043160..6e2bc79 100644 --- a/charts/kube-resource-report/templates/deployment.yaml +++ b/charts/kube-resource-report/templates/deployment.yaml @@ -34,6 +34,9 @@ spec: - --update-interval-minutes=1 - --additional-cost-per-cluster=0 - --pricing-file=/config/pricing.csv + {{- range .Values.args }} + - {{ . | quote }} + {{- end }} - /output resources: {{- toYaml .Values.app.resources | nindent 12 }} diff --git a/charts/kube-resource-report/values.yaml b/charts/kube-resource-report/values.yaml index 6f48677..b8ece5e 100644 --- a/charts/kube-resource-report/values.yaml +++ b/charts/kube-resource-report/values.yaml @@ -94,6 +94,9 @@ env: # - name: NODE_LABEL_INSTANCE_TYPE # value: "beta.kubernetes.io/instance-type" +# args -- extra args to pass to container +args: [] + # pricingData -- CSV with columns region,instance-type,monthly-price-usd pricingData: |- dc-1,master,30.000