mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 02:44:29 +08:00
add hostPath for netclient log file in k8s client yaml
This commit is contained in:
parent
2bd38def35
commit
7824451de4
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,8 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /etc/netclient
|
||||
name: etc-netclient
|
||||
- mountPath: /var/log/netclient.log
|
||||
name: log-netclient
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumes:
|
||||
|
@ -42,3 +44,7 @@ spec:
|
|||
path: /etc/netclient
|
||||
type: DirectoryOrCreate
|
||||
name: etc-netclient
|
||||
- hostPath:
|
||||
path: /var/log/netclient.log
|
||||
type: FileOrCreate
|
||||
name: log-netclient
|
||||
|
|
Loading…
Add table
Reference in a new issue