Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helm config parameter for shared overhead costs #987

Merged
merged 1 commit into from
Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions cost-analyzer/templates/cost-analyzer-pricing-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ data:
{{- if .Values.kubecostProductConfigs.sharedNamespaces }}
sharedNamespaces: "{{ .Values.kubecostProductConfigs.sharedNamespaces }}"
{{- end -}}
{{- if .Values.kubecostProductConfigs.sharedOverhead }}
sharedOverhead: "{{ .Values.kubecostProductConfigs.sharedOverhead }}"
{{- end -}}
{{- if gt (len (toString .Values.kubecostProductConfigs.shareTenancyCosts)) 0 }}
{{- if eq (toString .Values.kubecostProductConfigs.shareTenancyCosts) "false" }}
shareTenancyCosts: "false"
Expand Down
1 change: 1 addition & 0 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ serviceAccount:
# serviceKeySecretName: "" # Use an existing AWS or Azure secret with format as in aws-service-key-secret.yaml or azure-service-key-secret.yaml. Leave blank if using createServiceKeySecret
# createServiceKeySecret: true # Creates a secret representing your cloud service key based on data in values.yaml. If you are storing unencrypted values, add a secret manually
# sharedNamespaces: "" # namespaces with shared workloads, example value: "kube-system\,ingress-nginx\,kubecost\,monitoring"
# sharedOverhead: "" # value representing a fixed external cost per month to be distributed among aggregations.
# shareTenancyCosts: true # enable or disable sharing costs such as cluster management fees (defaults to "true" on Settings page)
# productKey: # apply business or enterprise product license
# key: ""
Expand Down