Documentation ¶
Index ¶
- Variables
- func GetDefaultReleaseValues(chartOptions *helm.ChartOptions, log log.Logger) (string, error)
- func GetKubernetesMinorVersion(serverVersion *version.Info) (int, error)
- func GetKubernetesVersion(serverVersion *version.Info) string
- func ParseKubernetesVersionInfo(versionStr string) (*version.Info, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var EKSAPIVersionMap = map[string]string{
"1.23": "public.ecr.aws/eks-distro/kubernetes/kube-apiserver:v1.23.7-eks-1-23-4",
"1.21": "public.ecr.aws/eks-distro/kubernetes/kube-apiserver:v1.21.13-eks-1-21-17",
"1.20": "public.ecr.aws/eks-distro/kubernetes/kube-apiserver:v1.20.15-eks-1-20-19",
}
View Source
var EKSControllerVersionMap = map[string]string{
"1.23": "public.ecr.aws/eks-distro/kubernetes/kube-controller-manager:v1.23.7-eks-1-23-4",
"1.21": "public.ecr.aws/eks-distro/kubernetes/kube-controller-manager:v1.21.13-eks-1-21-17",
"1.20": "public.ecr.aws/eks-distro/kubernetes/kube-controller-manager:v1.20.15-eks-1-20-19",
}
View Source
var EKSCoreDNSVersionMap = map[string]string{
"1.23": "public.ecr.aws/eks-distro/coredns/coredns:v1.8.7-eks-1-23-4",
"1.21": "public.ecr.aws/eks-distro/coredns/coredns:v1.8.4-eks-1-21-17",
"1.20": "public.ecr.aws/eks-distro/coredns/coredns:v1.8.3-eks-1-20-19",
}
View Source
var EKSEtcdVersionMap = map[string]string{
"1.23": "public.ecr.aws/eks-distro/etcd-io/etcd:v3.5.4-eks-1-23-4",
"1.21": "public.ecr.aws/eks-distro/etcd-io/etcd:v3.4.18-eks-1-21-17",
"1.20": "public.ecr.aws/eks-distro/etcd-io/etcd:v3.4.18-eks-1-20-19",
}
View Source
var K0SVersionMap = map[string]string{
"1.24": "k0sproject/k0s:v1.24.3-k0s.0",
"1.23": "k0sproject/k0s:v1.23.9-k0s.0",
"1.22": "k0sproject/k0s:v1.22.12-k0s.0",
}
View Source
var K3SVersionMap = map[string]string{
"1.25": "rancher/k3s:v1.25.0-k3s1",
"1.24": "rancher/k3s:v1.24.3-k3s1",
"1.23": "rancher/k3s:v1.23.9-k3s1",
"1.22": "rancher/k3s:v1.22.12-k3s1",
"1.21": "rancher/k3s:v1.21.14-k3s1",
"1.20": "rancher/k3s:v1.20.15-k3s1",
"1.19": "rancher/k3s:v1.19.16-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.25": "k8s.gcr.io/kube-apiserver:v1.25.0",
"1.24": "k8s.gcr.io/kube-apiserver:v1.24.3",
"1.23": "k8s.gcr.io/kube-apiserver:v1.23.9",
"1.22": "k8s.gcr.io/kube-apiserver:v1.22.12",
"1.21": "k8s.gcr.io/kube-apiserver:v1.21.14",
"1.20": "k8s.gcr.io/kube-apiserver:v1.20.15",
}
View Source
var K8SControllerVersionMap = map[string]string{
"1.25": "k8s.gcr.io/kube-controller-manager:v1.25.0",
"1.24": "k8s.gcr.io/kube-controller-manager:v1.24.3",
"1.23": "k8s.gcr.io/kube-controller-manager:v1.23.9",
"1.22": "k8s.gcr.io/kube-controller-manager:v1.22.12",
"1.21": "k8s.gcr.io/kube-controller-manager:v1.21.14",
"1.20": "k8s.gcr.io/kube-controller-manager:v1.20.15",
}
View Source
var K8SEtcdVersionMap = map[string]string{
"1.25": "k8s.gcr.io/etcd:3.5.4-0",
"1.24": "k8s.gcr.io/etcd:3.5.1-0",
"1.23": "k8s.gcr.io/etcd:3.5.1-0",
"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",
}
View Source
var K8SSchedulerVersionMap = map[string]string{
"1.25": "k8s.gcr.io/kube-scheduler:v1.25.0",
"1.24": "k8s.gcr.io/kube-scheduler:v1.24.3",
"1.23": "k8s.gcr.io/kube-scheduler:v1.23.9",
"1.22": "k8s.gcr.io/kube-scheduler:v1.22.12",
"1.21": "k8s.gcr.io/kube-scheduler:v1.21.14",
"1.20": "k8s.gcr.io/kube-scheduler:v1.20.15",
}
Functions ¶
func GetDefaultReleaseValues ¶
func GetKubernetesVersion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.