-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Endpoint reflection with ExternalCIDR
- Loading branch information
1 parent
251d714
commit 80694cf
Showing
28 changed files
with
1,851 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
deployments/liqo/templates/liqo-network-manager-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
{{- $netManagerConfig := (merge (dict "name" "network-manager" "module" "networking") .) -}} | ||
|
||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "liqo.prefixedName" $netManagerConfig }} | ||
labels: | ||
{{- include "liqo.labels" $netManagerConfig | nindent 4 }} | ||
spec: | ||
# This service is made to be consumed within the cluster, in particular by the virtual kubelet | ||
type: ClusterIP | ||
ports: | ||
- name: ipam-api | ||
port: 6000 | ||
protocol: TCP | ||
selector: | ||
{{- include "liqo.selectorLabels" $netManagerConfig | nindent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package consts | ||
|
||
const ( | ||
// NetworkManagerIpamPort is the port used by IPAM gRPCs. | ||
NetworkManagerIpamPort = 6000 | ||
// NetworkManagerServiceName is the service name for IPAM gRPCs. | ||
NetworkManagerServiceName = "liqo-network-manager" | ||
// DefaultCIDRValue is the default value for a string that contains a CIDR. | ||
DefaultCIDRValue = "None" | ||
// TepReady is the ready state of TunnelEndpoint resource. | ||
TepReady = "Ready" | ||
) |
Oops, something went wrong.