promoted v1alpha1 resources to v1beta1 (#505)

This commit is contained in:
Enrico Candino
2025-10-13 17:24:56 +02:00
committed by GitHub
parent 12971f55a6
commit 594c2571c3
76 changed files with 390 additions and 390 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
"k8s.io/apimachinery/pkg/util/wait"
"github.com/rancher/k3k/pkg/apis/k3k.io/v1alpha1"
"github.com/rancher/k3k/pkg/apis/k3k.io/v1beta1"
)
const (
@@ -28,7 +28,7 @@ var Backoff = wait.Backoff{
// Image returns the rancher/k3s image tagged with the specified Version.
// If Version is empty it will use with the same k8s version of the host cluster,
// stored in the Status object. It will return the latest version as last fallback.
func K3SImage(cluster *v1alpha1.Cluster, k3SImage string) string {
func K3SImage(cluster *v1beta1.Cluster, k3SImage string) string {
image := k3SImage
imageVersion := "latest"