-
Notifications
You must be signed in to change notification settings - Fork 91
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 #11 from toscott/main
FIXES #10 - Publish Chart to a proper helm repository
- Loading branch information
Showing
15 changed files
with
84 additions
and
72 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 |
---|---|---|
|
@@ -39,12 +39,9 @@ jobs: | |
uses: tj-actions/changed-files@v35 | ||
with: | ||
files: | | ||
templates/** | ||
Chart.yaml | ||
values.yaml | ||
helm-test.yml | ||
charts/** | ||
# change detection in ct seems to not detect some changes. Using simple file modification for now. | ||
# change detection in ct seems to not detect some changes. Using simple file modification for now. | ||
# - name: Run chart-testing (list-changed) | ||
# id: list-changed | ||
# run: | | ||
|
@@ -56,7 +53,7 @@ jobs: | |
# run: ct lint --chart-dirs . --target-branch ${{ github.event.repository.default_branch }} | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --chart-dirs . --charts . | ||
run: ct lint --all | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
|
@@ -67,6 +64,5 @@ jobs: | |
# run: ct install --chart-dirs . --target-branch ${{ github.event.repository.default_branch }} --upgrade | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --chart-dirs . --charts . | ||
|
||
|
||
run: ct install --all | ||
if: steps.files-changed.outputs.any_modified == 'true' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# opencost | ||
|
||
Opencost and Opencost UI | ||
|
||
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.9.8](https://img.shields.io/badge/AppVersion-1.9.8-informational?style=flat-square) | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| mattray | | <https://mattray.dev> | | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `my-release`: | ||
|
||
```console | ||
$ helm install opencost opencost/opencost | ||
``` | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| annotations | object | `{}` | | | ||
| opencost.exporter.defaultClusterId | string | `"default-cluster"` | | | ||
| opencost.exporter.extraEnv | object | `{}` | | | ||
| opencost.exporter.image.registry | string | `"quay.io"` | | | ||
| opencost.exporter.image.repository | string | `"kubecost1/kubecost-cost-model"` | | | ||
| opencost.exporter.image.tag | string | `"latest"` | | | ||
| opencost.exporter.resources.limits.cpu | string | `"999m"` | | | ||
| opencost.exporter.resources.limits.memory | string | `"1G"` | | | ||
| opencost.exporter.resources.requests.cpu | string | `"10m"` | | | ||
| opencost.exporter.resources.requests.memory | string | `"55M"` | | | ||
| opencost.metrics.serviceMonitor.additionalLabels | object | `{}` | | | ||
| opencost.metrics.serviceMonitor.enabled | bool | `false` | | | ||
| opencost.metrics.serviceMonitor.metricRelabelings | list | `[]` | | | ||
| opencost.metrics.serviceMonitor.namespace | string | `""` | | | ||
| opencost.metrics.serviceMonitor.namespaceSelector | object | `{}` | | | ||
| opencost.metrics.serviceMonitor.relabelings | list | `[]` | | | ||
| opencost.metrics.serviceMonitor.scrapeInterval | string | `"30s"` | | | ||
| opencost.metrics.serviceMonitor.targetLabels | list | `[]` | | | ||
| opencost.prometheus.external.enabled | bool | `false` | | | ||
| opencost.prometheus.external.url | string | `"https://mimir-dev-push.infra.alto.com/prometheus"` | | | ||
| opencost.prometheus.internal.enabled | bool | `true` | | | ||
| opencost.prometheus.internal.namespaceName | string | `"opencost"` | | | ||
| opencost.prometheus.internal.port | int | `9090` | | | ||
| opencost.prometheus.internal.serviceName | string | `"my-prometheus"` | | | ||
| opencost.tolerations | list | `[]` | | | ||
| opencost.ui.enabled | bool | `true` | | | ||
| opencost.ui.image.registry | string | `"quay.io"` | | | ||
| opencost.ui.image.repository | string | `"kubecost1/opencost-ui"` | | | ||
| opencost.ui.image.tag | string | `"latest"` | | | ||
| opencost.ui.resources.limits.cpu | string | `"999m"` | | | ||
| opencost.ui.resources.limits.memory | string | `"1G"` | | | ||
| opencost.ui.resources.requests.cpu | string | `"10m"` | | | ||
| opencost.ui.resources.requests.memory | string | `"55M"` | | | ||
| service.annotations | object | `{}` | | | ||
| service.labels | object | `{}` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| serviceAccount.annotations | object | `{}` | | | ||
| serviceAccount.automountServiceAccountToken | bool | `true` | | | ||
| serviceAccount.create | bool | `true` | | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) | ||
## Docs Generated by [helm-docs](https://github.com/norwoodj/helm-docs) | ||
`helm-docs -t .README.md.gotmpl` |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.