Master
@@ -23,6 +23,8 @@ spec:
volumeMounts:
- mountPath: /etc/netclient
name: etc-netclient
+ - mountPath: /var/log
+ name: log-netclient
securityContext:
privileged: true
volumes:
@@ -32,3 +34,6 @@ spec:
path: /etc/netclient
type: DirectoryOrCreate
+ - emptyDir:
+ medium: Memory
@@ -35,6 +35,8 @@ spec:
@@ -42,3 +44,6 @@ spec:
@@ -170,6 +170,7 @@ func CreateIngressGateway(netid string, nodeid string, ingress models.IngressReq
}
node.SetLastModified()
+ node.Metadata = ingress.Metadata
if node.Metadata == "" {
node.Metadata = "This host can be used for remote access"
@@ -197,6 +197,7 @@ type HostRelayRequest struct {
type IngressRequest struct {
ExtclientDNS string `json:"extclientdns"`
IsInternetGateway bool `json:"is_internet_gw"`
+ Metadata string `json:"metadata"`
// InetNodeReq - exit node request struct