-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path00-variables.sh
37 lines (34 loc) · 1.29 KB
/
00-variables.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Variables
# Edit the following
prefix="<resource-prefix>"
aksClusterOneLocation="<aks-location-one>"
aksClusterTwoLocation="<aks-location-two>"
sharedResourceGroupLocation="<shared-resource-group-location>"
# Edit if you want to modify this project to add new features:
aksClusterOneName="$prefix-$aksClusterOneLocation-aks-one"
aksClusterTwoName="$prefix-$aksClusterTwoLocation-aks-two"
aksClusterOneResourceGroupName="$prefix-$aksClusterOneLocation-one-rg"
aksClusterTwoResourceGroupName="$prefix-$aksClusterTwoLocation-two-rg"
sharedResourceGroupName="$prefix-$sharedResourceGroupLocation-shared-rg"
terraformDirectory=".."
certsDir="../certificates"
tag="1.14.4"
istioDir="../istio-$tag"
yamlDir="../yaml"
clusters=($aksClusterOneName $aksClusterTwoName)
istioRevision="1-14-4"
yamlDir="../yaml"
namespace="echoserver"
podName="curlclient"
containerName="curlclient"
imageName="nginx"
command="curl echoserver:8080"
certificateName="frontend-certificate"
applicationGatewayName="aks-appgw-$aksClusterOneLocation"
rootCertificateName="root-certificate"
rootCertificateFile="../certificates/$aksClusterOneName/root-cert.pem"
echoserverCertificateName="echoserver"
echoserverDir="echoserver"
# Add the `istioctl` client to your path, on a macOS or Linux system
export PATH=$HOME/.istioctl/bin:$PATH