1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Add flux version to bootstrap commit messages

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-02-12 10:42:20 +02:00
parent 60a1e78869
commit bc9cbc387c
5 changed files with 117 additions and 12 deletions

View File

@@ -126,6 +126,14 @@ func bootstrapValidate() error {
}
func generateInstallManifests(targetPath, namespace, tmpDir string, localManifests string) (string, error) {
if bootstrapArgs.version == install.MakeDefaultOptions().Version {
version, err := install.GetLatestVersion()
if err != nil {
return "", err
}
bootstrapArgs.version = version
}
opts := install.Options{
BaseURL: localManifests,
Version: bootstrapArgs.version,