mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 20:44:14 -04:00
AB#2076: version specific images (#288)
KubernetesVersion sent by the init command now controls all downloaded binaries, if they depend on the k8s version. * Move all download links into /internal/versions. * Unify files in /internal/versions package * Move image download links into VersionConfigs and thus make them dependant on the k8s version, where the image version is specific to the k8s version. * Don't specify patch version in k8sVersion
This commit is contained in:
parent
b57e9cf92a
commit
741384158a
22 changed files with 137 additions and 112 deletions
|
@ -12,8 +12,8 @@ import (
|
|||
type CloudControllerManager struct{}
|
||||
|
||||
// Image returns the container image used to provide cloud-controller-manager for the cloud-provider.
|
||||
func (c CloudControllerManager) Image() string {
|
||||
return ""
|
||||
func (c CloudControllerManager) Image(k8sVersion string) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
// Path returns the path used by cloud-controller-manager executable within the container image.
|
||||
|
|
|
@ -5,8 +5,8 @@ type CloudNodeManager struct{}
|
|||
|
||||
// Image returns the container image used to provide cloud-node-manager for the cloud-provider.
|
||||
// Not used on QEMU.
|
||||
func (c *CloudNodeManager) Image() string {
|
||||
return ""
|
||||
func (c *CloudNodeManager) Image(k8sVersion string) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
// Path returns the path used by cloud-node-manager executable within the container image.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue