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