apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.34.0 (cbf2835db) labels: io.kompose.service: nginx name: nginx 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.reymota.es/nginx-$ARQUITECTURA:$IMG_NGINX_VERSION name: nginx ports: - containerPort: 80 protocol: TCP volumeMounts: - mountPath: /app/biblioteca/staticfiles name: static-volume - mountPath: /app/biblioteca/mediafiles name: libros-media imagePullSecrets: - name: myregistrykey restartPolicy: Always volumes: - name: static-volume persistentVolumeClaim: claimName: static-volume - name: libros-media persistentVolumeClaim: claimName: libros-media