Skip to content

Commit

Permalink
trillian: switch to chainguard/netcat (#545)
Browse files Browse the repository at this point in the history
* trillian: switch to chainguard/netcat

Signed-off-by: Tuan Anh Tran <[email protected]>

* rerun helm-docs + rebase

Signed-off-by: Tuan Anh Tran <[email protected]>

* bump trillian chart version to 2.0.7

Signed-off-by: Tuan Anh Tran <[email protected]>

---------

Signed-off-by: Tuan Anh Tran <[email protected]>
Signed-off-by: Tuan Anh Tran <[email protected]>
Co-authored-by: Tuan Anh Tran <[email protected]>
  • Loading branch information
tuananh and tuananh-vpbank authored Jun 26, 2023
1 parent 6606b92 commit d82e555
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 25 deletions.
4 changes: 2 additions & 2 deletions charts/trillian/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |
type: application

version: 0.2.6
version: 0.2.7

keywords:
- security
Expand All @@ -26,7 +26,7 @@ annotations:
- name: curl
image: docker.io/curlimages/curl@sha256:e83fef2d5a036d40df4ded829141e8c0ec41871490d252fb8c81cb4580ebb35b
- name: netcat
image: docker.io/toolbelt/netcat@sha256:7d921b6d368fb1736cb0832c6f57e426c161593c075847af3378eb3185801cea
image: cgr.dev/chainguard/netcat@sha256:7243b469d34bd28969fa2c764a12d91084c427209540bb68645629d635b3f143
- name: db_server
image: gcr.io/trillian-opensource-ci/db_server@sha256:c04753ed44eac715e3191dad16fb0848a06714ddcb00c6f7768bf065485e1f8d
- name: log_server
Expand Down
18 changes: 8 additions & 10 deletions charts/trillian/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- This README.md is generated. Please edit README.md.gotmpl -->

![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.2.7](https://img.shields.io/badge/Version-0.2.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Trillian is a log that stores an accurate, immutable and verifiable history of activity.

Expand Down Expand Up @@ -47,21 +47,19 @@ helm uninstall [RELEASE_NAME]
| createdb.image.repository | string | `"sigstore/scaffolding/createdb"` | |
| createdb.image.version | string | `"sha256:9aa98492115c465b0cecfd6dbb04411a40c0d2d7e5d7c510f5646bd1d825e3c7"` | v0.6.2 |
| createdb.name | string | `"createdb"` | |
| createdb.resources | string | `""` | |
| createdb.serviceAccount.annotations | object | `{}` | |
| createdb.serviceAccount.create | bool | `false` | |
| createdb.serviceAccount.name | string | `""` | |
| createdb.ttlSecondsAfterFinished | int | `3600` | |
| forceNamespace | string | `""` | |
| initContainerResources | string | `""` | |
| initContainerImage.curl.imagePullPolicy | string | `"IfNotPresent"` | |
| initContainerImage.curl.registry | string | `"docker.io"` | |
| initContainerImage.curl.repository | string | `"curlimages/curl"` | |
| initContainerImage.curl.version | string | `"sha256:9fab1b73f45e06df9506d947616062d7e8319009257d3a05d970b0de80a41ec5"` | 7.85.0 |
| initContainerImage.netcat.imagePullPolicy | string | `"IfNotPresent"` | |
| initContainerImage.netcat.registry | string | `"docker.io"` | |
| initContainerImage.netcat.repository | string | `"toolbelt/netcat"` | |
| initContainerImage.netcat.version | string | `"sha256:7d921b6d368fb1736cb0832c6f57e426c161593c075847af3378eb3185801cea"` | 2022-05-23 |
| initContainerImage.netcat.registry | string | `"cgr.dev"` | |
| initContainerImage.netcat.repository | string | `"chainguard/netcat"` | |
| initContainerImage.netcat.version | string | `"sha256:7243b469d34bd28969fa2c764a12d91084c427209540bb68645629d635b3f143"` | 2023-06-13 |
| logServer.enabled | bool | `true` | |
| logServer.extraArgs | list | `[]` | |
| logServer.image.pullPolicy | string | `"IfNotPresent"` | |
Expand All @@ -70,7 +68,7 @@ helm uninstall [RELEASE_NAME]
| logServer.image.version | string | `"sha256:75dbbfc4c0b64334b985c4971fe58c30b9dd73d7aa54b15cee61223ff92aebf3"` | v0.9.1 |
| logServer.livenessProbe | object | `{}` | |
| logServer.name | string | `"log-server"` | |
| logServer.nodeSelector | object | `{"kubernetes.io/arch":"amd64"}` | Trillian images currently only support amd64 due to the toolbelt/netcat container |
| logServer.nodeSelector | object | `{}` | |
| logServer.portHTTP | int | `8090` | |
| logServer.portRPC | int | `8091` | |
| logServer.readinessProbe | object | `{}` | |
Expand All @@ -97,7 +95,7 @@ helm uninstall [RELEASE_NAME]
| logSigner.image.version | string | `"sha256:b56ed0b7b5e9813c91b208ba6041c9342f9a53162d96943374e59b5289090f1f"` | v0.9.1 |
| logSigner.livenessProbe | object | `{}` | |
| logSigner.name | string | `"log-signer"` | |
| logSigner.nodeSelector | object | `{"kubernetes.io/arch":"amd64"}` | Trillian images currently only support amd64 due to the toolbelt/netcat container |
| logSigner.nodeSelector | object | `{}` | |
| logSigner.portHTTP | int | `8090` | |
| logSigner.portRPC | int | `8091` | |
| logSigner.readinessProbe | object | `{}` | |
Expand Down Expand Up @@ -125,7 +123,7 @@ helm uninstall [RELEASE_NAME]
| mysql.gcp.cloudsql.securityContext.capabilities.drop[0] | string | `"ALL"` | |
| mysql.gcp.cloudsql.securityContext.readOnlyRootFilesystem | bool | `true` | |
| mysql.gcp.cloudsql.securityContext.runAsNonRoot | bool | `true` | |
| mysql.gcp.cloudsql.version | string | `"sha256:ec2858d78ac2b4d7945020589f6f86d151704a4617322f6c4196bafd952bf827"` | v1.33.8 |
| mysql.gcp.cloudsql.version | string | `"sha256:ec2858d78ac2b4d7945020589f6f86d151704a4617322f6c4196bafd952bf827"` | crane digest gcr.io/cloudsql-docker/gce-proxy:1.33.8 |
| mysql.gcp.enabled | bool | `false` | |
| mysql.gcp.instance | string | `""` | |
| mysql.gcp.scaffoldSQLProxy.registry | string | `"ghcr.io"` | |
Expand All @@ -141,7 +139,7 @@ helm uninstall [RELEASE_NAME]
| mysql.image.pullPolicy | string | `"IfNotPresent"` | |
| mysql.image.registry | string | `"gcr.io"` | |
| mysql.image.repository | string | `"trillian-opensource-ci/db_server"` | |
| mysql.image.version | string | `"sha256:c04753ed44eac715e3191dad16fb0848a06714ddcb00c6f7768bf065485e1f8d"` | v1.5.2 |
| mysql.image.version | string | `"sha256:c04753ed44eac715e3191dad16fb0848a06714ddcb00c6f7768bf065485e1f8d"` | crane digest gcr.io/trillian-opensource-ci/db_server:v1.5.2 |
| mysql.livenessProbe.exec.command[0] | string | `"/etc/init.d/mysql"` | |
| mysql.livenessProbe.exec.command[1] | string | `"status"` | |
| mysql.livenessProbe.failureThreshold | int | `3` | |
Expand Down
6 changes: 3 additions & 3 deletions charts/trillian/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"imagePullPolicy": "IfNotPresent"
},
"netcat": {
"registry": "docker.io",
"repository": "toolbelt/netcat",
"version": "sha256:99a582fa45fe1b50c97c652c9ada24b96c80d7071283227bd9a9f8eaa1c7a12b",
"registry": "cgr.dev",
"repository": "chainguard/netcat",
"version": "sha256:7243b469d34bd28969fa2c764a12d91084c427209540bb68645629d635b3f143",
"imagePullPolicy": "IfNotPresent"
}
},
Expand Down
16 changes: 6 additions & 10 deletions charts/trillian/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ initContainerImage:
version: sha256:9fab1b73f45e06df9506d947616062d7e8319009257d3a05d970b0de80a41ec5
imagePullPolicy: IfNotPresent
netcat:
registry: docker.io
repository: toolbelt/netcat
# -- 2022-05-23
version: "sha256:7d921b6d368fb1736cb0832c6f57e426c161593c075847af3378eb3185801cea"
registry: cgr.dev
repository: chainguard/netcat
# -- 2023-06-13
version: "sha256:7243b469d34bd28969fa2c764a12d91084c427209540bb68645629d635b3f143"
imagePullPolicy: IfNotPresent

storageSystem:
Expand Down Expand Up @@ -135,9 +135,7 @@ logServer:
# -- v0.9.1
version: sha256:75dbbfc4c0b64334b985c4971fe58c30b9dd73d7aa54b15cee61223ff92aebf3

# -- Trillian images currently only support amd64 due to the toolbelt/netcat container
nodeSelector:
kubernetes.io/arch: amd64
nodeSelector: {}

service:
type: ClusterIP
Expand Down Expand Up @@ -173,9 +171,7 @@ logSigner:
# -- v0.9.1
version: sha256:b56ed0b7b5e9813c91b208ba6041c9342f9a53162d96943374e59b5289090f1f

# -- Trillian images currently only support amd64 due to the toolbelt/netcat container
nodeSelector:
kubernetes.io/arch: amd64
nodeSelector: {}

service:
type: ClusterIP
Expand Down

0 comments on commit d82e555

Please sign in to comment.