mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: update mirroring container-images job for new OCP
The new OpenShift cluster complained about deprecated types and missing options in the yaml files. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
b0e9eeba36
commit
8181d13313
@ -1,5 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
apiVersion: image.openshift.io/v1
|
||||
kind: ImageStream
|
||||
metadata:
|
||||
name: mirror-images
|
||||
@ -9,7 +9,7 @@ spec:
|
||||
tags:
|
||||
- name: latest
|
||||
---
|
||||
apiVersion: v1
|
||||
apiVersion: build.openshift.io/v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
name: mirror-images
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
apiVersion: batch/v1beta1
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: mirror-images
|
||||
@ -33,4 +33,11 @@ spec:
|
||||
secretKeyRef:
|
||||
name: container-registry-auth
|
||||
key: passwd
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
capabilities:
|
||||
drop: ["ALL"]
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
restartPolicy: OnFailure
|
||||
|
Loading…
Reference in New Issue
Block a user