parent
049d25643e
commit
02f5b4f221
@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- presync.yaml
|
|
||||||
- postsync.yaml
|
|
@ -1,41 +0,0 @@
|
|||||||
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
|
|
@ -1,41 +0,0 @@
|
|||||||
apiVersion: batch/v1
|
|
||||||
kind: Job
|
|
||||||
metadata:
|
|
||||||
name: sync-presync
|
|
||||||
namespace: csi-uat
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/hook: PreSync
|
|
||||||
spec:
|
|
||||||
backoffLimit: 3
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: presync-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: "1"
|
|
||||||
- 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
|
|
Loading…
Reference in new issue