Skip to content

Commit

Permalink
Merge pull request #510 from kube-tarian/workerfix
Browse files Browse the repository at this point in the history
Workerfix
  • Loading branch information
vramk23 authored Jun 7, 2024
2 parents da2d5de + f73dfee commit 32df6aa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,21 +273,21 @@ func (cp *CrossPlaneApp) createProviderConfigResource(provider agentmodel.Crossp
secretPath := fmt.Sprintf("%s/%s/%s", credentials.GenericCredentialType, cp.cfg.CloudProviderEntityName, provider.CloudProviderId)

switch provider.CloudType {
case "AWS":
case "AWS", "aws":
providerConfigString := fmt.Sprintf(
crossplaneAWSProviderTemplate,
cloudType, secretPath, secretPath,
cloudType, pkg, cloudType,
)
return providerConfigString, nil
case "GCP":
case "GCP", "gcp":
providerConfigString := fmt.Sprintf(
crossplaneGCPProviderTemplate,
cloudType, secretPath, secretPath,
cloudType, pkg, cloudType,
)
return providerConfigString, nil
case "AZURE":
case "AZURE", "azure":
providerConfigString := fmt.Sprintf(
crossplaneAzureProviderTemplate,
cloudType, pkg,
Expand Down

0 comments on commit 32df6aa

Please sign in to comment.