diff --git a/charts/trillian/templates/trillian-log-server/deployment.yaml b/charts/trillian/templates/trillian-log-server/deployment.yaml index 1a6964fe..2b4edf5e 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..12909075 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: {}