Use renovate to update versions.go (#388)

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Malte Poll 2022-10-28 15:01:58 +02:00 committed by GitHub
parent e7bb970a03
commit caadd50056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 131 additions and 46 deletions

View file

@ -7,7 +7,6 @@ SPDX-License-Identifier: AGPL-3.0-only
package k8sapi
import (
"fmt"
"testing"
"github.com/edgelesssys/constellation/v2/internal/versions"
@ -69,7 +68,7 @@ func TestInitConfigurationKubeadmCompatibility(t *testing.T) {
}{
"Kubeadm accepts version 'Latest'": {
config: kubeadmConfig.InitConfiguration(true, versions.Default),
expectedVersion: fmt.Sprintf("v%s", versions.VersionConfigs[versions.Default].PatchVersion),
expectedVersion: versions.VersionConfigs[versions.Default].PatchVersion,
},
"Kubeadm receives incompatible version": {
config: kubeadmConfig.InitConfiguration(true, "1.19"),