Skip to content

Commit

Permalink
helm changes to add enterprise network enabled flag
Browse files Browse the repository at this point in the history
  • Loading branch information
avrodrigues5 committed Nov 13, 2023
1 parent 287ca76 commit 890e672
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cost-analyzer/templates/cost-analyzer-deployment-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,16 @@ spec:
{{- if .Values.networkCosts.enabled }}
- name: NETWORK_COSTS_PORT
value: {{ quote .Values.networkCosts.port | default (quote 3001) }}
{{- 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
value: "true"
{{- else}}
- name: ENTERPRISE_NETWORK_ENABLED
value: "false"
{{- end}}
{{- end }}
{{- end }}
{{- end }}
{{- /*
Expand Down

0 comments on commit 890e672

Please sign in to comment.