intel-device-plugins-for-ku.../deployments/fpga_admissionwebhook/manager/manager.yaml
Mikko Ylinen cbc521e505 move to k8s.io v1.24.0-rc.1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-04-27 09:26:07 +03:00

41 lines
949 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: webhook
namespace: system
labels:
control-plane: controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- image: intel/intel-fpga-admissionwebhook:devel
imagePullPolicy: IfNotPresent
name: manager
securityContext:
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
["ALL"]
seccompProfile:
type: RuntimeDefault
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
terminationGracePeriodSeconds: 10