Skip to content

Commit

Permalink
add eks chart support
Browse files Browse the repository at this point in the history
  • Loading branch information
waveywaves committed Apr 15, 2024
1 parent 7468c5e commit 27982c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/controllers/uffizzicluster/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ func (r *UffizziClusterReconciler) newHelmRelease(uCluster *uclusteruffizzicomv1
chartName = constants.VCLUSTER_CHART_K8S
chartVersion = constants.VCLUSTER_CHART_K8S_VERSION
} else if vclusterDistro == constants.VCLUSTER_EKS_DISTRO {

chartName = constants.VCLUSTER_CHART_EKS
chartVersion = constants.VCLUSTER_CHART_EKS_VERSION
}

// Create a new HelmRelease
Expand Down
6 changes: 4 additions & 2 deletions src/pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ const (
BITNAMI_HELM_REPO = "bitnami"
VCLUSTER_CHART_K3S = "vcluster"
VCLUSTER_CHART_K8S = "vcluster-k8s"
VCLUSTER_CHART_K3S_VERSION = "0.19.4"
VCLUSTER_CHART_K8S_VERSION = "0.19.4"
VCLUSTER_CHART_EKS = "vcluster-eks"
VCLUSTER_CHART_K3S_VERSION = "0.19.5"
VCLUSTER_CHART_K8S_VERSION = "0.19.5"
VCLUSTER_CHART_EKS_VERSION = "0.19.5"
ETCD_CHART = "etcd"
ETCD_CHART_VERSION = "9.5.6"
BITNAMI_CHART_REPO_URL = "oci://registry-1.docker.io/bitnamicharts"
Expand Down

0 comments on commit 27982c5

Please sign in to comment.