values

package
v0.5.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedDistros = []string{"k3s", "k0s", "k8s"}
View Source
var K0SVersionMap = map[string]string{
	"1.22": "k0sproject/k0s:v1.22.4-k0s.0",
	"1.21": "k0sproject/k0s:v1.21.7-k0s.0",
	"1.20": "k0sproject/k0s:v1.20.6-k0s.0",
}
View Source
var K3SVersionMap = map[string]string{
	"1.22": "rancher/k3s:v1.22.2-k3s2",
	"1.21": "rancher/k3s:v1.21.5-k3s2",
	"1.20": "rancher/k3s:v1.20.11-k3s2",
	"1.19": "rancher/k3s:v1.19.13-k3s1",
	"1.18": "rancher/k3s:v1.18.20-k3s1",
	"1.17": "rancher/k3s:v1.17.17-k3s1",
	"1.16": "rancher/k3s:v1.16.15-k3s1",
}
View Source
var K8SAPIVersionMap = map[string]string{
	"1.22": "k8s.gcr.io/kube-apiserver:v1.22.4",
	"1.21": "k8s.gcr.io/kube-apiserver:v1.21.5",
	"1.20": "k8s.gcr.io/kube-apiserver:v1.20.12",
}
View Source
var K8SControllerVersionMap = map[string]string{
	"1.22": "k8s.gcr.io/kube-controller-manager:v1.22.4",
	"1.21": "k8s.gcr.io/kube-controller-manager:v1.21.5",
	"1.20": "k8s.gcr.io/kube-controller-manager:v1.20.12",
}
View Source
var K8SEtcdVersionMap = map[string]string{
	"1.22": "k8s.gcr.io/etcd:3.5.1-0",
	"1.21": "k8s.gcr.io/etcd:3.4.13-0",
	"1.20": "k8s.gcr.io/etcd:3.4.13-0",
}

Functions

func GetDefaultReleaseValues

func GetDefaultReleaseValues(client kubernetes.Interface, createOptions *create.CreateOptions, log log.Logger) (string, error)

func GetServiceCIDR

func GetServiceCIDR(client kubernetes.Interface, namespace string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL