From 32241e664d770bee74ada4b396be4743ff397db0 Mon Sep 17 00:00:00 2001 From: Michal Ziobro Date: Wed, 4 Jan 2023 15:02:58 +0100 Subject: [PATCH] chore: add pre commit config --- .github/workflows/release.yaml | 6 ++++-- .pre-commit-config.yaml | 5 +++++ Chart.yaml | 2 +- README.md | 5 +++-- microservice-0.1.2.tgz | Bin 6068 -> 0 bytes 5 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 .pre-commit-config.yaml delete mode 100644 microservice-0.1.2.tgz diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 98f6cbd..91561dd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,7 +82,9 @@ jobs: echo "CHART_NAME=$(grep "name:" Chart.yaml | awk '{print $2}')" >> $GITHUB_OUTPUT - name: Publish Helm Chart + env: + PACKAGE_NAME: ${{ steps.chart-name.outputs.CHART_NAME }}-${{ needs.push-tag.outputs.chart-version }} run: | helm package . - helm push ${{ steps.chart-name.outputs.CHART_NAME }}-${{ needs.push-tag.outputs.chart-version }}.tgz oci://ghcr.io/${{ github.repository }} - rm ${{ steps.chart-name.outputs.CHART_NAME }}-${{ needs.push-tag.outputs.chart-version }}.tgz \ No newline at end of file + helm push $PACKAGE_NAME.tgz oci://ghcr.io/${{ github.repository }} + rm $PACKAGE_NAME.tgz diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..0f830ab --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/norwoodj/helm-docs + rev: v1.11.0 + hooks: + - id: helm-docs diff --git a/Chart.yaml b/Chart.yaml index 01ac5c4..18a1f31 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -15,7 +15,7 @@ type: application # 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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.1.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/README.md b/README.md index 8723813..571e007 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # microservice -![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) A Helm chart for Kubernetes @@ -15,7 +15,7 @@ A Helm chart for Kubernetes | autoscaling.targetCPUUtilizationPercentage | int | `80` | | | containerPort | int | `80` | | | deploymentStrategy | string | `"RollingUpdate"` | | -| env.REACT_ENV | string | `"sandbox"` | | +| env | object | `{}` | | | extraLabels | object | `{}` | Extra lables to be added to all resources | | fullnameOverride | string | `""` | | | image.args | list | `[]` | | @@ -68,6 +68,7 @@ A Helm chart for Kubernetes | serviceAccount.annotations | object | `{}` | | | serviceAccount.create | bool | `true` | | | serviceAccount.name | string | `""` | | +| terminationGracePeriodSeconds | int | `30` | | | tolerations | list | `[]` | | ---------------------------------------------- diff --git a/microservice-0.1.2.tgz b/microservice-0.1.2.tgz deleted file mode 100644 index 60819e7cfd963ea9b18f85ee04f4644ae2642bc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6068 zcmV;l7fa|LiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PKBzQyV$b`2IbgqR()ZWPkB^%vSpn&A+DwSg8 z8QGqok!B^0!3#W}{V7TFqIt6o;mB?s`U7lFtGm_eZb_|{CXNEm1m?3Sz=ORh;?kX? znEdpR#q&IGXKPFU_dKuu-y6Pq_0w=`b9;MZXUp66e)5K!JFm8W0`Eb&=qRa>i2v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