mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +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
|
kind: ImageStream
|
||||||
metadata:
|
metadata:
|
||||||
name: mirror-images
|
name: mirror-images
|
||||||
@ -9,7 +9,7 @@ spec:
|
|||||||
tags:
|
tags:
|
||||||
- name: latest
|
- name: latest
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: build.openshift.io/v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: mirror-images
|
name: mirror-images
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: mirror-images
|
name: mirror-images
|
||||||
@ -33,4 +33,11 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: container-registry-auth
|
name: container-registry-auth
|
||||||
key: passwd
|
key: passwd
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
runAsNonRoot: true
|
||||||
|
capabilities:
|
||||||
|
drop: ["ALL"]
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
|
Loading…
Reference in New Issue
Block a user