diff --git a/charts/sbom-operator/Chart.yaml b/charts/sbom-operator/Chart.yaml index 41ad164..89ed7a7 100644 --- a/charts/sbom-operator/Chart.yaml +++ b/charts/sbom-operator/Chart.yaml @@ -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: diff --git a/charts/sbom-operator/templates/deployment.yaml b/charts/sbom-operator/templates/deployment.yaml index e002025..c452a62 100644 --- a/charts/sbom-operator/templates/deployment.yaml +++ b/charts/sbom-operator/templates/deployment.yaml @@ -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