mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
37 lines
835 B
YAML
37 lines
835 B
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: sgx-node-init
|
|
labels:
|
|
app: sgx-node-init
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: sgx-node-init
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sgx-node-init
|
|
spec:
|
|
serviceAccountName: sgx-plugin
|
|
containers:
|
|
- name: sgx-node-init
|
|
image: intel/intel-sgx-initcontainer:0.30.0
|
|
imagePullPolicy: IfNotPresent
|
|
command:
|
|
- /usr/local/bin/sgx-sw/intel-sgx-epchook
|
|
- -register
|
|
- -node-label
|
|
- -daemon
|
|
env:
|
|
- name: NODE_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities:
|
|
drop:
|
|
- ALL
|