|
|
@@ -1,46 +0,0 @@
|
|
|
-apiVersion: apps/v1
|
|
|
-kind: Deployment
|
|
|
-metadata:
|
|
|
- annotations:
|
|
|
- kompose.cmd: kompose convert
|
|
|
- kompose.version: 1.34.0 (cbf2835db)
|
|
|
- labels:
|
|
|
- io.kompose.service: nginx
|
|
|
- name: nginx
|
|
|
- namespace: finanzas
|
|
|
-spec:
|
|
|
- replicas: 1
|
|
|
- selector:
|
|
|
- matchLabels:
|
|
|
- io.kompose.service: nginx
|
|
|
- strategy:
|
|
|
- type: Recreate
|
|
|
- template:
|
|
|
- metadata:
|
|
|
- annotations:
|
|
|
- kompose.cmd: kompose convert
|
|
|
- kompose.version: 1.34.0 (cbf2835db)
|
|
|
- labels:
|
|
|
- io.kompose.service: nginx
|
|
|
- spec:
|
|
|
- containers:
|
|
|
- - image: $REGISTRY/nginx-finanzas-$ARQUITECTURA:$IMG_NGINX_VERSION
|
|
|
- name: nginx
|
|
|
- ports:
|
|
|
- - containerPort: 80
|
|
|
- protocol: TCP
|
|
|
- volumeMounts:
|
|
|
- - mountPath: /app/src/staticfiles
|
|
|
- name: static-volume
|
|
|
- - mountPath: /app/src/mediafiles
|
|
|
- name: finanzas-media
|
|
|
- imagePullSecrets:
|
|
|
- - name: myregistrykey
|
|
|
- restartPolicy: Always
|
|
|
- volumes:
|
|
|
- - name: static-volume
|
|
|
- persistentVolumeClaim:
|
|
|
- claimName: static-volume
|
|
|
- - name: finanzas-media
|
|
|
- persistentVolumeClaim:
|
|
|
- claimName: finanzas-media
|