Skip to content

Commit cd679fc

Browse files
feat: image digest (#518)
1 parent e60a838 commit cd679fc

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 3 additions & 1 deletion
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.4.10
4+
version: 7.0.0
55
keywords:
66
- codefresh
77
- runner
@@ -17,6 +17,8 @@ annotations:
1717
artifacthub.io/containsSecurityUpdates: "false"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
20+
- kind: changed
21+
description: "BREAKING: adding images digests"
2022
- kind: fixed
2123
description: "fix of variable replacement in arguments of typed steps (Engine 1.174.14)"
2224
- kind: fixed

charts/cf-runtime/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh Runner
22

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

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

@@ -16,6 +16,7 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
1616
- [To 4.x](#to-4-x)
1717
- [To 5.x](#to-5-x)
1818
- [To 6.x](#to-6-x)
19+
- [To 7.x](#to-7-x)
1920
- [Architecture](#architecture)
2021
- [Configuration](#configuration)
2122
- [EBS backend volume configuration in AWS](#ebs-backend-volume-configuration)
@@ -247,6 +248,27 @@ runner:
247248
enabled: true
248249
```
249250

251+
### To 7.x
252+
253+
⚠️⚠️⚠️ **BREAKING CHANGE** ⚠️⚠️⚠️
254+
255+
7.0.0 release adds image digests to all images in default values, for example:
256+
257+
```yaml
258+
runtime:
259+
engine:
260+
image:
261+
registry: quay.io
262+
repository: codefresh/engine
263+
tag: 1.174.15
264+
pullPolicy: IfNotPresent
265+
digest: sha256:d547c2044c1488e911ff726462cc417adf2dda731cafd736493c4de4eb9e357b
266+
```
267+
268+
Which means any overrides for tags won't be used and underlying Kubernetes runtime will pull the image by the digest.
269+
270+
See [Pull an image by digest (immutable identifier)](https://docs.docker.com/reference/cli/docker/image/pull/#pull-an-image-by-digest-immutable-identifier)
271+
250272
## Architecture
251273

252274
[Codefresh Runner architecture](https://codefresh.io/docs/docs/installation/codefresh-runner/#codefresh-runner-architecture)

charts/cf-runtime/README.md.gotmpl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
1616
- [To 4.x](#to-4-x)
1717
- [To 5.x](#to-5-x)
1818
- [To 6.x](#to-6-x)
19+
- [To 7.x](#to-7-x)
1920
- [Architecture](#architecture)
2021
- [Configuration](#configuration)
2122
- [EBS backend volume configuration in AWS](#ebs-backend-volume-configuration)
@@ -247,6 +248,29 @@ runner:
247248
enabled: true
248249
```
249250

251+
### To 7.x
252+
253+
⚠️⚠️⚠️ **BREAKING CHANGE** ⚠️⚠️⚠️
254+
255+
7.0.0 release adds image digests to all images in default values, for example:
256+
257+
```yaml
258+
runtime:
259+
engine:
260+
image:
261+
registry: quay.io
262+
repository: codefresh/engine
263+
tag: 1.174.15
264+
pullPolicy: IfNotPresent
265+
digest: sha256:d547c2044c1488e911ff726462cc417adf2dda731cafd736493c4de4eb9e357b
266+
```
267+
268+
Which means any overrides for tags won't be used and underlying Kubernetes runtime will pull the image by the digest.
269+
270+
See [Pull an image by digest (immutable identifier)](https://docs.docker.com/reference/cli/docker/image/pull/#pull-an-image-by-digest-immutable-identifier)
271+
272+
273+
250274
## Architecture
251275

252276
[Codefresh Runner architecture](https://codefresh.io/docs/docs/installation/codefresh-runner/#codefresh-runner-architecture)

0 commit comments

Comments
 (0)