Skip to content

Commit

Permalink
edit the name and leave a comment about the ADVANCED_NETWORK_STATS fe…
Browse files Browse the repository at this point in the history
…ature per review comment
  • Loading branch information
avrodrigues5 committed Nov 17, 2023
1 parent 5451a09 commit 0780de8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -949,13 +949,16 @@ spec:
{{- if .Values.networkCosts.enabled }}
- name: NETWORK_COSTS_PORT
value: {{ quote .Values.networkCosts.port | default (quote 3001) }}
# ADVANCED_NETWORK_STATS is a feature offered by Kubecost that gives you network
# insights of your Kubernetes resources with cloud services. The feature is
# enabled when network cost is enabled and one of the service tagging is enabled
{{- if .Values.networkCosts.config.services }}
{{- $services := .Values.networkCosts.config.services -}}
{{- if or (index $services "google-cloud-services") (index $services "aws-cloud-services") (index $services "azure-cloud-services")}}
- name: ENTERPRISE_NETWORK_ENABLED
- name: ADVANCED_NETWORK_STATS
value: "true"
{{- else}}
- name: ENTERPRISE_NETWORK_ENABLED
- name: ADVANCED_NETWORK_STATS
value: "false"
{{- end}}
{{- end }}
Expand Down

0 comments on commit 0780de8

Please sign in to comment.