Skip to content

Commit

Permalink
Merge pull request #2956 from gravitl/release-v0.24.1
Browse files Browse the repository at this point in the history
Release v0.24.1
  • Loading branch information
abhishek9686 authored May 30, 2024
2 parents b2ae18d + 2791dbf commit d77abf1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k8s/client/netclient-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
volumeMounts:
- mountPath: /etc/netclient
name: etc-netclient
- mountPath: /var/log
name: log-netclient
securityContext:
privileged: true
volumes:
Expand All @@ -32,3 +34,6 @@ spec:
path: /etc/netclient
type: DirectoryOrCreate
name: etc-netclient
- emptyDir:
medium: Memory
name: log-netclient
5 changes: 5 additions & 0 deletions k8s/client/netclient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ spec:
volumeMounts:
- mountPath: /etc/netclient
name: etc-netclient
- mountPath: /var/log
name: log-netclient
securityContext:
privileged: true
volumes:
- hostPath:
path: /etc/netclient
type: DirectoryOrCreate
name: etc-netclient
- emptyDir:
medium: Memory
name: log-netclient
1 change: 1 addition & 0 deletions logic/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
1 change: 1 addition & 0 deletions models/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d77abf1

Please sign in to comment.