add probes
Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
This commit is contained in:
parent
cadd1eb1d8
commit
a396799d64
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v2
|
||||
description: Catalogue all images of a Kubernetes cluster to multiple targets with Syft
|
||||
name: sbom-operator
|
||||
version: 0.7.0
|
||||
version: 0.7.1
|
||||
appVersion: 0.7.0
|
||||
home: https://github.com/ckotzbauer/sbom-operator
|
||||
sources:
|
||||
|
|
|
|||
|
|
@ -38,6 +38,20 @@ spec:
|
|||
{{ toYaml .Values.securityContext | indent 12 }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
timeoutSeconds: 3
|
||||
httpGet:
|
||||
path: "/health"
|
||||
port: http
|
||||
readinessProbe:
|
||||
timeoutSeconds: 3
|
||||
httpGet:
|
||||
path: "/health"
|
||||
port: http
|
||||
volumeMounts:
|
||||
- mountPath: /work
|
||||
name: work
|
||||
|
|
|
|||
Loading…
Reference in New Issue