File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 7474 enabled : true
7575 minReplicas : 2
7676 maxReplicas : 10
77+ targetCPUUtilizationPercentage : 50
7778 metrics :
7879 - type : Object
7980 object :
8990 asserts :
9091 - lengthEqual :
9192 path : spec.metrics
92- count : 1
93+ count : 2
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : v0.0.0
33description : Codefresh library chart
44name : cf-common
5- version : 0.0.22
5+ version : 0.0.23
66type : library
77keywords :
88 - codefresh
Original file line number Diff line number Diff line change 22
33Codefresh library chart
44
5- ![ Version: 0.0.22 ] ( https://img.shields.io/badge/Version-0.0.22 -informational?style=flat-square ) ![ Type: library] ( https://img.shields.io/badge/Type-library-informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
5+ ![ Version: 0.0.23 ] ( https://img.shields.io/badge/Version-0.0.23 -informational?style=flat-square ) ![ Type: library] ( https://img.shields.io/badge/Type-library-informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
66
77## Installing the Chart
88
@@ -18,7 +18,7 @@ Include this chart as a dependency in your `Chart.yaml` e.g.
1818# Chart.yaml
1919dependencies :
2020- name : cf-common
21- version : 0.0.22
21+ version : 0.0.23
2222 repository : https://chartmuseum.codefresh.io/cf-common
2323` ` `
2424
Original file line number Diff line number Diff line change 3838 metrics:
3939{ {- if .Values.hpa.metrics } }
4040{ { toYaml .Values.hpa.metrics | indent 4 } }
41- { {- else if (or .Values.hpa.targetMemoryUtilizationPercentage .Values.hpa.targetCPUUtilizationPercentage) } }
41+ { {- end } }
42+ { {- if (or .Values.hpa.targetMemoryUtilizationPercentage .Values.hpa.targetCPUUtilizationPercentage) } }
4243{ {- with .Values.hpa.targetMemoryUtilizationPercentage } }
4344 - type: Resource
4445 resource:
You can’t perform that action at this time.
0 commit comments