Renovate Bot
e95b5e1a33
All checks were successful
Check Kubernetes YAMLs / scan (pull_request) Successful in 36s
38 lines
831 B
YAML
38 lines
831 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: flyimg
|
|
namespace: public-services
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: flyimg
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: flyimg
|
|
spec:
|
|
containers:
|
|
- name: flyimg-container
|
|
image: flyimg/flyimg:1.4.15
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
ports:
|
|
- containerPort: 80
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 100Mi
|
|
limits:
|
|
cpu: 2000m
|
|
memory: 512Mi
|
|
volumeMounts:
|
|
- name: flyimg-storage
|
|
mountPath: /var/www/html/web/uploads
|
|
volumes:
|
|
- name: flyimg-storage
|
|
persistentVolumeClaim:
|
|
claimName: flyimg-pvc
|