diff --git a/charts/opencost/Chart.yaml b/charts/opencost/Chart.yaml index 7079b57..a303ae7 100755 --- a/charts/opencost/Chart.yaml +++ b/charts/opencost/Chart.yaml @@ -9,7 +9,7 @@ keywords: - kubecost - opencost - monitoring -version: 1.28.2 +version: 1.28.3 maintainers: - name: mattray url: https://mattray.dev diff --git a/charts/opencost/templates/service.yaml b/charts/opencost/templates/service.yaml index f07b677..477c860 100644 --- a/charts/opencost/templates/service.yaml +++ b/charts/opencost/templates/service.yaml @@ -23,6 +23,11 @@ spec: port: {{ .Values.opencost.ui.uiPort }} targetPort: {{ .Values.opencost.ui.uiPort }} {{- end }} + {{- if .Values.opencost.exporter.debugPort }} + - name: debug-port + port: {{ .Values.opencost.exporter.debugPort }} + targetPort: {{ .Values.opencost.debugPort }} + {{- end }} {{- with .Values.service.extraPorts }} {{- toYaml . | nindent 4 }} {{- end }} diff --git a/charts/opencost/values.yaml b/charts/opencost/values.yaml index d3959bb..862da2e 100644 --- a/charts/opencost/values.yaml +++ b/charts/opencost/values.yaml @@ -82,6 +82,7 @@ opencost: exporter: # API_PORT for the cost-model to listen on apiPort: 9003 + # debugPort: 40000 # for development purposes (debugging with delve) and not for production. # -- The GCP Pricing API requires a key. This is supplied just for evaluation. cloudProviderApiKey: "" # -- Default cluster ID to use if cluster_id is not set in Prometheus metrics.