commit 25a3b4ae2654ed83b766cc97b543393bb356934e Author: Christian Kotzbauer Date: Sat Jan 25 09:07:40 2020 +0100 initial structure diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml new file mode 100644 index 0000000..2b68c1f --- /dev/null +++ b/.github/workflows/lint-test.yaml @@ -0,0 +1,27 @@ +name: Lint and Test Charts + +on: pull_request + +jobs: + lint-test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Run chart-testing (lint) + id: lint + uses: helm/chart-testing-action@v1.0.0-alpha.3 + with: + command: lint + + - name: Create kind cluster + uses: helm/kind-action@v1.0.0-alpha.3 + with: + install_local_path_provisioner: true + if: steps.lint.outputs.changed == 'true' + + - name: Run chart-testing (install) + uses: helm/chart-testing-action@v1.0.0-alpha.3 + with: + command: install diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..abe6f57 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,33 @@ +name: Release Charts + +on: + push: + branches: + - master + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + # See https://github.com/helm/chart-releaser-action/issues/6 + - name: Install Helm + run: | + curl -sSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get + chmod 700 get_helm.sh + ./get_helm.sh + helm init --client-only + - name: Add dependency chart repos + run: | + helm repo add stable https://kubernetes-charts.storage.googleapis.com/ + helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/ + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.0.0-alpha.2 + env: + CR_TOKEN: "${{ secrets.CR_TOKEN }}" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..695e39a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Christian Kotzbauer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..d69693a --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Helm Charts + +## Usage + +Add the repo: + +``` +helm repo add code-chris https://code-chris.github.io/helm-charts +``` + +## Charts + +- [cadvisor](https://github.com/code-chris/helm-charts/tree/master/charts/cadvisor) +- [prometheus-blackbox-exporter](https://github.com/code-chris/helm-charts/tree/master/charts/prometheus-blackbox-exporter) +- [prometheus-msteams](https://github.com/code-chris/helm-charts/tree/master/charts/prometheus-msteams) diff --git a/ct.yaml b/ct.yaml new file mode 100644 index 0000000..75d83f0 --- /dev/null +++ b/ct.yaml @@ -0,0 +1,6 @@ +# See https://github.com/helm/chart-testing#configuration +remote: origin +chart-dirs: + - charts +chart-repos: [] +helm-extra-args: --timeout 600 \ No newline at end of file