mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-06 05:54:28 -04:00
Create kubernetes join token on demand
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
ddcb4dc95f
commit
c9226de9ab
7 changed files with 85 additions and 114 deletions
|
@ -4,6 +4,8 @@ Constants should never be overwritable by command line flags or configuration fi
|
|||
*/
|
||||
package constants
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
//
|
||||
// Ports.
|
||||
|
@ -46,6 +48,7 @@ const (
|
|||
|
||||
// KubernetesVersion installed by kubeadm.
|
||||
KubernetesVersion = "stable-1.23"
|
||||
KubernetesJoinTokenTTL = 15 * time.Minute
|
||||
)
|
||||
|
||||
// CliVersion is the version of the CLI. Left as a separate variable to allow override during build.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue