mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
add hostPath for netclient log file in k8s client yaml
(cherry picked from commit 7824451de4
)
This commit is contained in:
parent
2c694cb1a6
commit
872a815e54
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…
Reference in a new issue