intel-device-plugins-for-ku.../deployments/sgx_plugin/overlays/epc-register/init-daemonset.yaml
Tuomas Katila 393f0ca73f images: set 0.30.0 tag for the release
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-05-14 13:29:10 +03:00

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