Skip to content

Commit 30687b3

Browse files
committed
Add lifecycle hooks for Trillian
1 parent 220b721 commit 30687b3

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

charts/trillian/templates/trillian-log-server/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ spec:
7575
{{- include "trillian.storageSystem.envCredentials" . | indent 12}}
7676
ports:
7777
{{- include "trillian.containerPorts" .Values.logServer.service.ports | indent 12 }}
78+
{{- if .Values.logServer.lifecycle }}
79+
lifecycle:
80+
{{ toYaml .Values.logServer.lifecycle | indent 12 }}
81+
{{- end }
7882
{{- if .Values.logServer.livenessProbe }}
7983
livenessProbe:
8084
{{ toYaml .Values.logServer.livenessProbe | indent 12 }}

charts/trillian/templates/trillian-log-signer/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ spec:
7575
{{- include "trillian.storageSystem.envCredentials" . | indent 12}}
7676
ports:
7777
{{- include "trillian.containerPorts" .Values.logSigner.service.ports | indent 12 }}
78+
{{- if .Values.logSigner.lifecycle }}
79+
lifecycle:
80+
{{ toYaml .Values.logSigner.lifecycle | indent 12 }}
81+
{{- end }
7882
{{- if .Values.logSigner.livenessProbe }}
7983
livenessProbe:
8084
{{ toYaml .Values.logSigner.livenessProbe | indent 12 }}

charts/trillian/values.schema.json

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
}
144144
]
145145
},
146+
"lifecycle": {},
146147
"livenessProbe": {},
147148
"readinessProbe": {},
148149
"resources": {},
@@ -176,6 +177,7 @@
176177
}
177178
]
178179
},
180+
"lifecycle": {},
179181
"livenessProbe": {},
180182
"readinessProbe": {},
181183
"resources": {},

charts/trillian/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ logServer:
150150
port: 8090
151151
protocol: TCP
152152
targetPort: 8090
153+
lifecycle: {}
153154
livenessProbe: {}
154155
readinessProbe: {}
155156
resources: {}
@@ -184,6 +185,7 @@ logSigner:
184185
port: 8091
185186
protocol: TCP
186187
targetPort: 8091
188+
lifecycle: {}
187189
livenessProbe: {}
188190
readinessProbe: {}
189191
resources: {}

0 commit comments

Comments
 (0)