Skip to content

Commit

Permalink
Merge pull request env0#189 from env0/cluster-name-should-be-env-var
Browse files Browse the repository at this point in the history
Cluster name and region should be environment variables
  • Loading branch information
orr-levinger authored Jun 5, 2023
2 parents 5d554aa + 58e823b commit b1b05cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/helm/dummy/env0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ deploy:
steps:
setupVariables:
after:
- awsv2 eks --region=us-east-1 update-kubeconfig --name kushield
- awsv2 eks --region=${ENV0_CLUSTER_REGION:-us-east-1} update-kubeconfig --name ${ENV0_CLUSTER_NAME:-kushield}
- "sed -i 's/command: aws/command: awsv2/g' ~/.kube/config"
- cat /home/node/.kube/config

destroy:
steps:
setupVariables:
after:
- awsv2 eks --region=us-east-1 update-kubeconfig --name kushield
- awsv2 eks --region=${ENV0_CLUSTER_REGION:-us-east-1} update-kubeconfig --name ${ENV0_CLUSTER_NAME:-kushield}
- "sed -i 's/command: aws/command: awsv2/g' ~/.kube/config"
- cat /home/node/.kube/config

0 comments on commit b1b05cb

Please sign in to comment.