Skip to content
Snippets Groups Projects
Commit eb66c022 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

chore(ci): rename file

parent cd74e2a5
Branches
Tags
1 merge request!420V3.2.0
......@@ -127,7 +127,7 @@ sonarqube:
script:
- if [ "$CI_ENVIRONMENT_NAME" == "dev" ]; then export KUBECONFIG=$KUBECONFIG_DEV; fi
- if [ "$CI_ENVIRONMENT_NAME" == "rec" ]; then export KUBECONFIG=$KUBECONFIG_REC; fi
- ./scripts/db/oc-mongodb-copy-prod.sh
- ./scripts/db/oc-mongodb-copy.sh
tags:
- ns-res-$NAMESPACE_ENV-syn
......@@ -170,7 +170,8 @@ db-copy-20-rec:
- ls k8s/env/
- oc whoami
- oc apply -f k8s/env/
- oc delete pod -l app=res-server
# Delete the previous pod to avoid data changes while migration is run by the new pod
- oc delete pod -l app=res-server; fi
tags:
- ns-res-$NAMESPACE_ENV-syn
......
......@@ -16,15 +16,16 @@ spec:
- name: res-pvc-files
persistentVolumeClaim:
claimName: pvc-01-ns-res-$NAMESPACE_ENV-syn-claim
- name: res-pvc-data
persistentVolumeClaim:
claimName: pvc-02-ns-res-$NAMESPACE_ENV-syn-claim
- name: res-pvc-data-ghost
persistentVolumeClaim:
claimName: pvc-03-ns-res-$NAMESPACE_ENV-syn-claim
- name: res-pvc-es
persistentVolumeClaim:
claimName: pvc-04-ns-res-$NAMESPACE_ENV-syn-claim
# /!\ Only for debugging or panic purpose ! These block-typed PVC can not be mounted of more than one POD.
#- name: res-pvc-data
# persistentVolumeClaim:
# claimName: pvc-02-ns-res-$NAMESPACE_ENV-syn-claim
#- name: res-pvc-data-ghost
# persistentVolumeClaim:
# claimName: pvc-03-ns-res-$NAMESPACE_ENV-syn-claim
#- name: res-pvc-es
# persistentVolumeClaim:
# claimName: pvc-04-ns-res-$NAMESPACE_ENV-syn-claim
securityContext:
seLinuxOptions:
type: spc_t
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment