41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cluster-controller-continuous-cluster-sizing
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "cost-analyzer.commonLabels" . | nindent 4 }}
|
|
{{- if .Values.clusterController.actionConfigs.clusterRightsize }}
|
|
binaryData:
|
|
config: |
|
|
{{- toJson .Values.clusterController.actionConfigs.clusterRightsize | b64enc | nindent 4 }}
|
|
{{- end }}
|
|
---
|
|
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cluster-controller-nsturndown-config
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "cost-analyzer.commonLabels" . | nindent 4 }}
|
|
{{- if .Values.clusterController.actionConfigs.namespaceTurndown }}
|
|
binaryData:
|
|
{{- range .Values.clusterController.actionConfigs.namespaceTurndown }}
|
|
{{ .name }}: |
|
|
{{- toJson . | b64enc | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cluster-controller-container-rightsizing-config
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "cost-analyzer.commonLabels" . | nindent 4 }}
|
|
{{- if .Values.clusterController.actionConfigs.containerRightsize }}
|
|
binaryData:
|
|
config: |
|
|
{{- toJson .Values.clusterController.actionConfigs.containerRightsize | b64enc | nindent 4 }}
|
|
{{- end }} |