Skip to content

Commit

Permalink
Set up InstanceAllowLists ConfigMap
Browse files Browse the repository at this point in the history
  • Loading branch information
biancaburtoiu committed Aug 23, 2024
1 parent ac57b8a commit 9d8d411
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 9d8d411

Please # to comment.