-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from empathyco/feature/helm-release
Adding Helm releaser and updating Helm Chart
- Loading branch information
Showing
18 changed files
with
6,714 additions
and
3,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Helm Release | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'charts/cost-report/Chart.yaml' | ||
- 'charts/cost-report/**/*' | ||
|
||
env: | ||
HELM_VERSION: "v3.5.3" | ||
|
||
jobs: | ||
helm-release: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: "Checkout main branch" | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Configure Git" | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: "Install Helm" | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: "${{ env.HELM_VERSION }}" | ||
|
||
- name: "Run chart-releaser" | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: charts | ||
charts_repo_url: https://empathyco.github.io/kubernetes-cost-report/ | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
CR_RELEASE_NAME_TEMPLATE: "helm-chart-{{ .Version }}" | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# cost-report | ||
|
||
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.12](https://img.shields.io/badge/AppVersion-0.0.12-informational?style=flat-square) | ||
|
||
A Helm chart for Kubernetes | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | Kubernetes pod affinity | | ||
| fullnameOverride | string | `""` | Chart full name override | | ||
| image.pullPolicy | string | `"IfNotPresent"` | Image pullpolicy | | ||
| image.repository | string | `"empathyco/cost-report"` | Image repository | | ||
| image.tag | string | `"0.0.12"` | Image tag | | ||
| imagePullSecrets | list | `[]` | Image pull secrets | | ||
| nameOverride | string | `""` | Chart name override | | ||
| nodeSelector | object | `{}` | Kubernetes node selector | | ||
| podAnnotations | object | `{}` | Custom pod annotations | | ||
| podSecurityContext | object | `{}` | Custom pod security context | | ||
| replicaCount | int | `1` | Number of deployment replicas | | ||
| resources | object | `{}` | Container resources | | ||
| securityContext | object | `{}` | Custom container security context | | ||
| service.port | int | `8080` | Service port | | ||
| service.type | string | `"ClusterIP"` | Service type | | ||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | | ||
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | ||
| serviceAccount.name | string | `""` | | | ||
| serviceMonitor.additionalLabels | object | `{"release":"prometheus"}` | Prometheus instance selector labels | | ||
| serviceMonitor.dashboards.annotations | object | `{}` | Create Grafana dashboard folder. | | ||
| serviceMonitor.dashboards.enabled | bool | `true` | Create Grafana dashboard. This dashboard requires the recording rules in serviceMonitor.prometheusRules | | ||
| serviceMonitor.enabled | bool | `true` | if true, creates a Prometheus Operator ServiceMonitor | | ||
| serviceMonitor.prometheusRules.additionalLabels | object | `{"release":"prometheus"}` | prometheusRules selector labels. | | ||
| serviceMonitor.prometheusRules.enabled | bool | `true` | Create Prometheus recording rules. | | ||
| tolerations | list | `[]` | Kubernetes tolerations | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) |
Oops, something went wrong.