Skip to content

Commit

Permalink
need to look at this for gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 5, 2024
1 parent a604f1c commit 6356d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/controller/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func (clctrl *ClusterController) ContainerRegistryAuth() (string, error) {
}

return containerRegistryAuthToken, nil
case "civo", "digitalocean", "vultr", "k3s":
case "azure", "civo", "digitalocean", "vultr", "k3s":
var err error
kcfg, err = k8s.CreateKubeConfig(false, clctrl.ProviderConfig.Kubeconfig)
if err != nil {
Expand Down Expand Up @@ -478,7 +478,7 @@ func (clctrl *ClusterController) WaitForClusterReady() error {
if err != nil {
return fmt.Errorf("failed to create eks config: %w", err)
}
case "civo", "digitalocean", "vultr", "k3s":
case "azure", "civo", "digitalocean", "vultr", "k3s":
var err error
kcfg, err = k8s.CreateKubeConfig(false, clctrl.ProviderConfig.Kubeconfig)
if err != nil {
Expand All @@ -495,7 +495,7 @@ func (clctrl *ClusterController) WaitForClusterReady() error {
var dnsDeployment *v1.Deployment
var err error
switch clctrl.CloudProvider {
case "aws", "civo", "digitalocean", "vultr", "k3s":
case "aws", "azure", "civo", "digitalocean", "vultr", "k3s":
dnsDeployment, err = k8s.ReturnDeploymentObject(
kcfg.Clientset,
"kubernetes.io/name",
Expand Down

0 comments on commit 6356d13

Please sign in to comment.