Skip to content

Commit

Permalink
Set up InstanceAllowLists ConfigMap (#3605)
Browse files Browse the repository at this point in the history
  • Loading branch information
biancaburtoiu authored Aug 28, 2024
1 parent 19c0516 commit 07d9b9b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{{- if .Values.kubecostProductConfigs }}
{{- if .Values.kubecostProductConfigs.savingsRecommendationsAllowLists }}
apiVersion: v1
kind: ConfigMap
metadata:
name: "savings-recommendations-instance-allow-lists"
namespace: {{ .Release.Namespace }}
labels: {{ include "cost-analyzer.commonLabels" . | nindent 4 }}
data:
allow-lists.json: '{{ toJson .Values.kubecostProductConfigs.savingsRecommendationsAllowLists }}'
{{- end -}}
{{- end -}}
4 changes: 4 additions & 0 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3447,6 +3447,10 @@ costEventsAudit:
# hideCloudIntegrationsUI: false
# hideBellIcon: false
# hideTeams: false
# savingsRecommendationsAllowLists: # Define select list of instance types to be evaluated in computing Savings Recommendations
# AWS: []
# GCP: []
# Azure: []

## Specify an existing Kubernetes Secret holding the cloud integration information. This Secret must contain
## a key with name `cloud-integration.json` and the contents must be in a specific format. It is expected
Expand Down

0 comments on commit 07d9b9b

Please sign in to comment.