Skip to content

Commit 2a269c7

Browse files
feat: push chart to OCI (#409)
1 parent f4b9f60 commit 2a269c7

File tree

3 files changed

+35
-47
lines changed

3 files changed

+35
-47
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Codefresh Runner
33
name: cf-runtime
4-
version: 6.1.12
4+
version: 6.2.0
55
keywords:
66
- codefresh
77
- runner
@@ -14,9 +14,11 @@ maintainers:
1414
url: https://codefresh-io.github.io/
1515
annotations:
1616
artifacthub.io/changes: |
17-
- kind: security
18-
description: Fix security vulnerabilities in images used by the runner
17+
- kind: changed
18+
description: Update cf-common lib chart
19+
- kind: changed
20+
description: Push chart to OCI registry
1921
dependencies:
2022
- name: cf-common
21-
repository: https://chartmuseum.codefresh.io/cf-common
22-
version: 0.15.2
23+
repository: oci://quay.io/codefresh/charts
24+
version: 0.16.0

charts/cf-runtime/README.md

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
## Codefresh Runner
22

3-
![Version: 6.1.12](https://img.shields.io/badge/Version-6.1.12-informational?style=flat-square)
3+
![Version: 6.2.0](https://img.shields.io/badge/Version-6.2.0-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.
66

77
## Table of Content
88

99
- [Prerequisites](#prerequisites)
10-
- [Get Repo Info](#get-repo-info)
10+
- [Get Chart Info](#get-chart-info)
1111
- [Install Chart](#install-chart)
1212
- [Chart Configuration](#chart-configuration)
1313
- [Upgrade Chart](#upgrade-chart)
@@ -34,19 +34,25 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
3434
- Kubernetes **1.19+**
3535
- Helm **3.8.0+**
3636

37-
## Get Repo Info
37+
⚠️⚠️⚠️
38+
> Since version 6.2.x chart is pushed **only** to OCI registry at `oci://quay.io/codefresh/cf-runtime`
39+
40+
> Versions prior to 6.2.x are still available in ChartMuseum at `http://chartmuseum.codefresh.io/cf-runtime`
41+
42+
## Get Chart Info
3843

3944
```console
40-
helm repo add cf-runtime http://chartmuseum.codefresh.io/cf-runtime
41-
helm repo update
45+
helm show all oci://quay.io/codefresh/cf-runtime
4246
```
47+
See [Use OCI-based registries](https://helm.sh/docs/topics/registries/)
4348

4449
## Install Chart
4550

4651
**Important:** only helm3 is supported
4752

4853
- Specify the following mandatory values
4954

55+
`values.yaml`
5056
```yaml
5157
# -- Global parameters
5258
# @default -- See below
@@ -87,21 +93,12 @@ global:
8793
- Install chart
8894

8995
```console
90-
helm upgrade --install cf-runtime cf-runtime/cf-runtime --create-namespace --namespace codefresh
91-
```
92-
93-
*Install from OCI-based registry*
94-
```console
95-
helm upgrade --install cf-runtime oci://quay.io/codefresh/cf-runtime --create-namespace --namespace codefresh
96+
helm upgrade --install cf-runtime oci://quay.io/codefresh/cf-runtime -f values.yaml --create-namespace --namespace codefresh
9697
```
9798

9899
## Chart Configuration
99100

100-
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), or run these configuration commands:
101-
102-
```console
103-
helm show values cf-runtime/cf-runtime
104-
```
101+
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing).
105102

106103
## Upgrade Chart
107104

@@ -255,11 +252,7 @@ runner:
255252

256253
## Configuration
257254

258-
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), or run these configuration commands:
259-
260-
```console
261-
helm show values cf-runtime/cf-runtime
262-
```
255+
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing).
263256

264257
### EBS backend volume configuration
265258

@@ -890,7 +883,7 @@ Go to [https://<YOUR_ONPREM_DOMAIN_HERE>/admin/runtime-environments/system](http
890883

891884
| Repository | Name | Version |
892885
|------------|------|---------|
893-
| https://chartmuseum.codefresh.io/cf-common | cf-common | 0.15.2 |
886+
| oci://quay.io/codefresh/charts | cf-common | 0.16.0 |
894887

895888
## Values
896889

charts/cf-runtime/README.md.gotmpl

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
77
## Table of Content
88

99
- [Prerequisites](#prerequisites)
10-
- [Get Repo Info](#get-repo-info)
10+
- [Get Chart Info](#get-chart-info)
1111
- [Install Chart](#install-chart)
1212
- [Chart Configuration](#chart-configuration)
1313
- [Upgrade Chart](#upgrade-chart)
@@ -34,19 +34,25 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
3434
- Kubernetes **1.19+**
3535
- Helm **3.8.0+**
3636

37-
## Get Repo Info
37+
⚠️⚠️⚠️
38+
> Since version 6.2.x chart is pushed **only** to OCI registry at `oci://quay.io/codefresh/cf-runtime`
39+
40+
> Versions prior to 6.2.x are still available in ChartMuseum at `http://chartmuseum.codefresh.io/cf-runtime`
41+
42+
## Get Chart Info
3843

3944
```console
40-
helm repo add cf-runtime http://chartmuseum.codefresh.io/cf-runtime
41-
helm repo update
45+
helm show all oci://quay.io/codefresh/cf-runtime
4246
```
47+
See [Use OCI-based registries](https://helm.sh/docs/topics/registries/)
4348

4449
## Install Chart
4550

4651
**Important:** only helm3 is supported
4752

4853
- Specify the following mandatory values
4954

55+
`values.yaml`
5056
```yaml
5157
# -- Global parameters
5258
# @default -- See below
@@ -87,21 +93,12 @@ global:
8793
- Install chart
8894

8995
```console
90-
helm upgrade --install cf-runtime cf-runtime/cf-runtime --create-namespace --namespace codefresh
91-
```
92-
93-
*Install from OCI-based registry*
94-
```console
95-
helm upgrade --install cf-runtime oci://quay.io/codefresh/cf-runtime --create-namespace --namespace codefresh
96+
helm upgrade --install cf-runtime oci://quay.io/codefresh/cf-runtime -f values.yaml --create-namespace --namespace codefresh
9697
```
9798

9899
## Chart Configuration
99100

100-
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), or run these configuration commands:
101-
102-
```console
103-
helm show values cf-runtime/cf-runtime
104-
```
101+
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing).
105102

106103
## Upgrade Chart
107104

@@ -255,11 +252,7 @@ runner:
255252

256253
## Configuration
257254

258-
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), or run these configuration commands:
259-
260-
```console
261-
helm show values cf-runtime/cf-runtime
262-
```
255+
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing).
263256

264257
### EBS backend volume configuration
265258

0 commit comments

Comments
 (0)