From fa06118b673b6d8ab918d56d604237e8755512b7 Mon Sep 17 00:00:00 2001 From: Chi-En Wu Date: Mon, 27 Apr 2020 17:21:02 +0800 Subject: [PATCH] feat: add `hpa.yaml` to starter --- Chart.yaml | 2 +- README.md | 2 +- starter/Chart.yaml | 2 +- starter/templates/hpa.yaml | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 starter/templates/hpa.yaml diff --git a/Chart.yaml b/Chart.yaml index 9324cc1..fe562f6 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -14,4 +14,4 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.4.0 +version: 0.4.1 diff --git a/README.md b/README.md index b68c155..59a778b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ To use the library chart, `common` should be listed in `dependencies` field in y ```yaml dependencies: - name: common - version: 0.4.0 + version: 0.4.1 repository: https://hahow-helm-charts.storage.googleapis.com/ ``` diff --git a/starter/Chart.yaml b/starter/Chart.yaml index 6c5f5fc..cd20f38 100644 --- a/starter/Chart.yaml +++ b/starter/Chart.yaml @@ -24,5 +24,5 @@ appVersion: 1.16.0 dependencies: - name: common - version: "0.4.0" + version: "0.4.1" repository: "https://hahow-helm-charts.storage.googleapis.com/" diff --git a/starter/templates/hpa.yaml b/starter/templates/hpa.yaml new file mode 100644 index 0000000..a5e35ab --- /dev/null +++ b/starter/templates/hpa.yaml @@ -0,0 +1,3 @@ +{{/* vim: set filetype=mustache: */}} + +{{- include "common.hpa" (list . .Values.autoscaling) -}}