Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4ad14028e | ||
|
|
025f16a17b | ||
|
|
a90c0a75a2 |
@@ -9,7 +9,7 @@ spec:
|
|||||||
project: default
|
project: default
|
||||||
|
|
||||||
source:
|
source:
|
||||||
repoURL: http://gitea.cruzcloud.net/devops/apps-registry.git
|
repoURL: https://gitea.cruzcloud.net/devops/apps-registry.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: workloads/ecommerce
|
path: workloads/ecommerce
|
||||||
kustomize: {}
|
kustomize: {}
|
||||||
|
|||||||
@@ -21,6 +21,28 @@ spec:
|
|||||||
- name: gitea-registry-secret
|
- name: gitea-registry-secret
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
|
- name: wait-for-postgres
|
||||||
|
image: postgres:17-alpine
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
until pg_isready -d "$DATABASE_URL" -t 5; do
|
||||||
|
echo "postgres no disponible aun, reintentando..."
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: commerce-secrets
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 25m
|
||||||
|
memory: 32Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 64Mi
|
||||||
|
|
||||||
- name: migrations
|
- name: migrations
|
||||||
image: gitea.cruzcloud.net/devops/ecommerce-medusa:v1.0.85
|
image: gitea.cruzcloud.net/devops/ecommerce-medusa:v1.0.85
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|||||||
Reference in New Issue
Block a user