netmaker/k8s/client/netclient-daemonset.yaml

33 lines
654 B
YAML
Raw Normal View History

2021-07-16 03:14:48 +08:00
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: netclient
labels:
app: netclient
spec:
selector:
matchLabels:
app: netclient
replicas: 1
template:
metadata:
labels:
app: netclient
spec:
hostNetwork: true
containers:
- name: netclient
2022-07-08 03:54:52 +08:00
image: gravitl/netclient:v0.14.5
2021-07-16 03:14:48 +08:00
env:
2022-07-08 03:54:52 +08:00
- name: TOKEN
value: "TOKEN_VALUE"
2021-07-16 03:14:48 +08:00
volumeMounts:
- mountPath: /etc/netclient
name: etc-netclient
securityContext:
privileged: true
volumes:
- hostPath:
path: /etc/netclient
type: DirectoryOrCreate
2022-07-08 03:54:52 +08:00
name: etc-netclient