Define install token;Change artifact path
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-01-19 13:30:13 +01:00
parent 849c86b22b
commit 52fbc561dd
3 changed files with 25 additions and 4 deletions

View File

@ -31,6 +31,14 @@ PropertyCategories:
- Name: 1) Meta-cluster
ProductProperties:
- key: metacluster.token
Type: string(1..)
Label: K3s install token*
Description: Auto-generated; this value is used to join future new nodes to the metacluster after deployment
DefaultValue: '{{ metacluster.token }}'
Configurations: '*'
UserConfigurable: true
- Key: guestinfo.hostname
Type: string(1..15)
Label: Hostname*
@ -173,3 +181,6 @@ Variables:
- Name: hostname.suffix
Expression: |
(-join ((48..57) + (97..122) | Get-Random -Count 5 | % {[char]$_})).ToLower()
- Name: metacluster.token
Expression: |
(New-Guid).Guid -replace '-', ''