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
|
apiVersion: v2
|
||||||
description: Catalogue all images of a Kubernetes cluster to multiple targets with Syft
|
description: Catalogue all images of a Kubernetes cluster to multiple targets with Syft
|
||||||
name: sbom-operator
|
name: sbom-operator
|
||||||
version: 0.7.0
|
version: 0.7.1
|
||||||
appVersion: 0.7.0
|
appVersion: 0.7.0
|
||||||
home: https://github.com/ckotzbauer/sbom-operator
|
home: https://github.com/ckotzbauer/sbom-operator
|
||||||
sources:
|
sources:
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,20 @@ spec:
|
||||||
{{ toYaml .Values.securityContext | indent 12 }}
|
{{ toYaml .Values.securityContext | indent 12 }}
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
{{ 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:
|
volumeMounts:
|
||||||
- mountPath: /work
|
- mountPath: /work
|
||||||
name: work
|
name: work
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue