mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
Use renovate to update versions.go (#388)
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
e7bb970a03
commit
caadd50056
3 changed files with 131 additions and 46 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue