You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/opts.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ type (
16
16
}
17
17
18
18
BootstrapTokenstruct {
19
-
TemplateIdstring`long:"bootstraptoken.template-id" env:"BOOTSTRAPTOKEN_TEMPLATE_ID" description:"Name for bootstrap tokens" default:"{{.Date}}"`
19
+
IdTemplatestring`long:"bootstraptoken.id-template" env:"BOOTSTRAPTOKEN_ID_TEMPLATE" description:"Template for token ID for bootstrap tokens" default:"{{.Date}}"`
20
+
IdValidationstring`long:"bootstraptoken.id-validation" env:"BOOTSTRAPTOKEN_ID_VALIDATION" description:"Regexp for validation of bootstrap token IDs" default:"^[a-z0-9]{6}\\.[a-z0-9]{16}$"`
20
21
Namestring`long:"bootstraptoken.name" env:"BOOTSTRAPTOKEN_NAME" description:"Name for bootstrap tokens" default:"bootstrap-token-%s"`
21
22
Labelstring`long:"bootstraptoken.label" env:"BOOTSTRAPTOKEN_LABEL" description:"Label for bootstrap tokens" default:"webdevops.kubernetes.io/bootstraptoken-managed"`
22
23
Namespacestring`long:"bootstraptoken.namespace" env:"BOOTSTRAPTOKEN_NAMESPACE" description:"Namespace for bootstrap tokens" default:"kube-system"`
KeyVaultName*string`long:"azure.keyvault-name" env:"AZURE_KEYVAULT_NAME" description:"Name of Keyvault to sync token"`
44
-
KeyVaultSecretName*string`long:"azure.keyvault-secret-name" env:"AZURE_KEYVAULT_SECRET_NAME" description:"Name of Keyvault secret to sync token"`
45
+
KeyVaultSecretName*string`long:"azure.keyvault-secret-name" env:"AZURE_KEYVAULT_SECRET_NAME" description:"Name of Keyvault secret to sync token" default:"kube-bootstrapt-token"`
0 commit comments