-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up InstanceAllowLists ConfigMap (#3605)
- Loading branch information
1 parent
19c0516
commit 07d9b9b
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
cost-analyzer/templates/savings-recommendations-allowlists-config-map-template.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters