diff --git a/charts/trillian/Chart.yaml b/charts/trillian/Chart.yaml index 965cdcae..ec825b08 100644 --- a/charts/trillian/Chart.yaml +++ b/charts/trillian/Chart.yaml @@ -5,7 +5,7 @@ description: | type: application -version: 0.2.3 +version: 0.2.4 keywords: - security diff --git a/charts/trillian/README.md b/charts/trillian/README.md index 42ff0e67..5ba3d5ae 100644 --- a/charts/trillian/README.md +++ b/charts/trillian/README.md @@ -2,7 +2,7 @@ -![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.4](https://img.shields.io/badge/Version-0.2.4-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. @@ -68,6 +68,7 @@ helm uninstall [RELEASE_NAME] | logServer.image.registry | string | `"gcr.io"` | | | logServer.image.repository | string | `"projectsigstore/trillian_log_server"` | | | logServer.image.version | string | `"sha256:75dbbfc4c0b64334b985c4971fe58c30b9dd73d7aa54b15cee61223ff92aebf3"` | v0.9.1 | +| logServer.lifecycle | object | `{}` | | | 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 | @@ -95,6 +96,7 @@ helm uninstall [RELEASE_NAME] | logSigner.image.registry | string | `"gcr.io"` | | | logSigner.image.repository | string | `"projectsigstore/trillian_log_signer"` | | | logSigner.image.version | string | `"sha256:b56ed0b7b5e9813c91b208ba6041c9342f9a53162d96943374e59b5289090f1f"` | v0.9.1 | +| logSigner.lifecycle | object | `{}` | | | 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 | diff --git a/charts/trillian/templates/trillian-log-server/deployment.yaml b/charts/trillian/templates/trillian-log-server/deployment.yaml index 1a6964fe..2161c728 100644 --- a/charts/trillian/templates/trillian-log-server/deployment.yaml +++ b/charts/trillian/templates/trillian-log-server/deployment.yaml @@ -75,6 +75,10 @@ spec: {{- include "trillian.storageSystem.envCredentials" . | indent 12}} ports: {{- include "trillian.containerPorts" .Values.logServer.service.ports | indent 12 }} +{{- if .Values.logServer.lifecycle }} + lifecycle: +{{ toYaml .Values.logServer.lifecycle | indent 12 }} +{{- end }} {{- if .Values.logServer.livenessProbe }} livenessProbe: {{ toYaml .Values.logServer.livenessProbe | indent 12 }} diff --git a/charts/trillian/templates/trillian-log-signer/deployment.yaml b/charts/trillian/templates/trillian-log-signer/deployment.yaml index fabf80f8..aa3635ae 100644 --- a/charts/trillian/templates/trillian-log-signer/deployment.yaml +++ b/charts/trillian/templates/trillian-log-signer/deployment.yaml @@ -75,6 +75,10 @@ spec: {{- include "trillian.storageSystem.envCredentials" . | indent 12}} ports: {{- include "trillian.containerPorts" .Values.logSigner.service.ports | indent 12 }} +{{- if .Values.logSigner.lifecycle }} + lifecycle: +{{ toYaml .Values.logSigner.lifecycle | indent 12 }} +{{- end }} {{- if .Values.logSigner.livenessProbe }} livenessProbe: {{ toYaml .Values.logSigner.livenessProbe | indent 12 }} diff --git a/charts/trillian/values.schema.json b/charts/trillian/values.schema.json index a7fbbe40..86d1aaad 100644 --- a/charts/trillian/values.schema.json +++ b/charts/trillian/values.schema.json @@ -143,6 +143,7 @@ } ] }, + "lifecycle": {}, "livenessProbe": {}, "readinessProbe": {}, "resources": {}, @@ -176,6 +177,7 @@ } ] }, + "lifecycle": {}, "livenessProbe": {}, "readinessProbe": {}, "resources": {}, diff --git a/charts/trillian/values.yaml b/charts/trillian/values.yaml index fd6ecd31..2f3a446d 100644 --- a/charts/trillian/values.yaml +++ b/charts/trillian/values.yaml @@ -150,6 +150,7 @@ logServer: port: 8090 protocol: TCP targetPort: 8090 + lifecycle: {} livenessProbe: {} readinessProbe: {} resources: {} @@ -184,6 +185,7 @@ logSigner: port: 8091 protocol: TCP targetPort: 8091 + lifecycle: {} livenessProbe: {} readinessProbe: {} resources: {}