helm/pac-server/deployment.yaml

28 lines
563 B
YAML
Raw Normal View History

2022-10-01 09:09:30 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: pac-server
spec:
selector:
matchLabels:
app: pac-server
template:
metadata:
labels:
app: pac-server
spec:
volumes:
- name: conf
configMap:
name: pac-config
defaultMode: 420
containers:
- name: nginx
image: nginx
resources:
limits:
cpu: 500m
memory: 256Mi
volumeMounts:
- mountPath: /usr/share/nginx/html
name: conf