Update firmador
This commit is contained in:
parent
a8151c03a2
commit
6c5a3e9858
11
Readme.md
11
Readme.md
|
@ -59,6 +59,17 @@ Este servicio no almacena datos sensibles en el código. En su lugar, utiliza **
|
|||
🔹 **¿Cómo maneja archivos y almacenamiento?**
|
||||
El servicio accede a un almacenamiento en la nube llamado **"certifados_prod"**, donde se guardan documentos importantes, como **certificados digitales** necesarios para la firma electrónica de documentos.
|
||||
|
||||
## service.firmador.yml
|
||||
📌 **Nota:**
|
||||
Este archivo, junto con los anteriores, es un **archivo de configuración para Google Cloud Run** que define cómo se desplegará el servicio **cbii-firmador-jenkins** en la nube.
|
||||
|
||||
✅ **Resumen de su función:**
|
||||
- Despliega un servicio llamado **cbii-firmador-jenkins** en **Google Cloud Run**.
|
||||
- Utiliza la imagen `svfe/svfe-api-firmador:v20230109`.
|
||||
- Expone el puerto **8113** para recibir solicitudes.
|
||||
- Asigna recursos de **CPU (1000m) y memoria (512MiB)**.
|
||||
- Monta un volumen con certificados desde un bucket de almacenamiento en la nube (`certifados_prod`).
|
||||
|
||||
## Otros archivos
|
||||
|
||||
📌 **Nota:**
|
||||
|
|
|
@ -104,23 +104,23 @@ spec:
|
|||
- name: templates_cbii
|
||||
mountPath: /app/src/templates
|
||||
|
||||
- name: svfe-api-firmador-1
|
||||
image: svfe/svfe-api-firmador:v20230109
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: certifados
|
||||
mountPath: /uploads
|
||||
# - name: svfe-api-firmador-1
|
||||
# image: svfe/svfe-api-firmador:v20230109
|
||||
# resources:
|
||||
# limits:
|
||||
# cpu: 1000m
|
||||
# memory: 512Mi
|
||||
# volumeMounts:
|
||||
# - name: certifados
|
||||
# mountPath: /uploads
|
||||
|
||||
volumes:
|
||||
- name: certifados
|
||||
csi:
|
||||
driver: gcsfuse.run.googleapis.com
|
||||
readOnly: true
|
||||
volumeAttributes:
|
||||
bucketName: certifados_prod
|
||||
# - name: certifados
|
||||
# csi:
|
||||
# driver: gcsfuse.run.googleapis.com
|
||||
# readOnly: true
|
||||
# volumeAttributes:
|
||||
# bucketName: certifados_prod
|
||||
- name: templates_cbii
|
||||
csi:
|
||||
driver: gcsfuse.run.googleapis.com
|
||||
|
|
|
@ -61,19 +61,19 @@ spec:
|
|||
key: '1'
|
||||
name: CRYPTO_NEST_DEV
|
||||
|
||||
- name: svfe-api-firmador-1
|
||||
image: svfe/svfe-api-firmador:v20230109
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: certifados
|
||||
mountPath: /uploads
|
||||
volumes:
|
||||
- name: certifados
|
||||
csi:
|
||||
driver: gcsfuse.run.googleapis.com
|
||||
readOnly: true
|
||||
volumeAttributes:
|
||||
bucketName: certifados_prod
|
||||
# - name: svfe-api-firmador-1
|
||||
# image: svfe/svfe-api-firmador:v20230109
|
||||
# resources:
|
||||
# limits:
|
||||
# cpu: 1000m
|
||||
# memory: 512Mi
|
||||
# volumeMounts:
|
||||
# - name: certifados
|
||||
# mountPath: /uploads
|
||||
# volumes:
|
||||
# - name: certifados
|
||||
# csi:
|
||||
# driver: gcsfuse.run.googleapis.com
|
||||
# readOnly: true
|
||||
# volumeAttributes:
|
||||
# bucketName: certifados_prod
|
Loading…
Reference in New Issue
Block a user