mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-03 20:01:01 -05:00
2a766a3ab5
* Added files required to request conformance with kubernetes * Extended firewall implementation to allow port ranges * Added default nodeport range to vpc network config
34 lines
830 B
Go
34 lines
830 B
Go
/*
|
|
Package constants contains the constants used by Constellation.
|
|
Constants should never be overwritable by command line flags or configuration files.
|
|
*/
|
|
package constants
|
|
|
|
const (
|
|
//
|
|
// Ports.
|
|
//
|
|
|
|
CoordinatorPort = 9000
|
|
EnclaveSSHPort = 2222
|
|
SSHPort = 22
|
|
WireguardPort = 51820
|
|
NVMEOverTCPPort = 8009
|
|
// Default NodePort Range
|
|
// https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
NodePortFrom = 30000
|
|
NodePortTo = 32767
|
|
|
|
//
|
|
// Filenames.
|
|
//
|
|
|
|
StateFilename = "constellation-state.json"
|
|
AdminConfFilename = "constellation-admin.conf"
|
|
MasterSecretFilename = "constellation-mastersecret.base64"
|
|
WGQuickConfigFilename = "wg0.conf"
|
|
)
|
|
|
|
// CliVersion is the version of the CLI. Left as a separate variable to allow override during build.
|
|
var CliVersion = "0.0.0"
|