Skip to content

Commit 6334dae

Browse files
committed
Pin the curl image's sha and ensure Job is only deployed if OLM is
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 1f120d5 commit 6334dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

k8s/operator/helm/templates/00_olm.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ metadata:
228228
spec:
229229
targetNamespaces:
230230
- {{ .Values.olmNamespace }}
231-
{{- end}}
232231
---
233232
apiVersion: batch/v1
234233
kind: Job
@@ -245,7 +244,7 @@ spec:
245244
serviceAccountName: olm-operator-serviceaccount
246245
containers:
247246
- name: trigger-csv-finalizer
248-
image: curlimages/curl:latest
247+
image: curlimages/curl@sha256:83a505ba2ba62f208ed6e410c268b7b9aa48f0f7b403c8108b9773b44199dbba # v8.11.0
249248
command:
250249
- /bin/sh
251250
- -c
@@ -280,3 +279,4 @@ spec:
280279
sleep 5
281280
fi
282281
done
282+
{{- end}}

0 commit comments

Comments
 (0)