You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: sync-postsync
|
|
namespace: csi-uat
|
|
annotations:
|
|
argocd.argoproj.io/hook: PostSync
|
|
spec:
|
|
backoffLimit: 3
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: postsync-pod
|
|
image: registry.cloudsolutions.com.sa/vida-qa/csi-data-migration-initiator:4.2.2
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 3Gi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
env:
|
|
- name: MIGRATION_TYPE
|
|
value: "2"
|
|
- name: owner
|
|
value: "CSI-UAT"
|
|
- name: repo
|
|
value: "CSI_UAT"
|
|
envFrom:
|
|
- configMapRef:
|
|
name: service-configs
|
|
- secretRef:
|
|
name: service-configs-secret
|
|
- configMapRef:
|
|
name: init-database-configs
|
|
- secretRef:
|
|
name: init-database-secrets
|
|
restartPolicy: Never
|
|
imagePullSecrets:
|
|
- name: regcred |