-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path00-variables.sh
More file actions
executable file
·45 lines (39 loc) · 1.38 KB
/
Copy path00-variables.sh
File metadata and controls
executable file
·45 lines (39 loc) · 1.38 KB
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
38
39
40
41
42
43
44
45
# Variables
# Azure Resources
PREFIX='local'
SUFFIX='test'
LOCATION='italynorth'
RESOURCE_GROUP_NAME="${PREFIX}-rg"
AKS_CLUSTER_NAME="${PREFIX}-aks-${SUFFIX}"
ACR_NAME="${PREFIX,,}acr${SUFFIX,,}"
ACR_SKU='Standard'
MANAGED_IDENTITY_NAME="${PREFIX}-app-identity-${SUFFIX}"
FEDERATED_IDENTITY_NAME="${PREFIX}-federated-identity-${SUFFIX}"
SUBSCRIPTION_NAME=$(az account show --query name --output tsv)
SUBSCRIPTION_ID=$(az account show --query id --output tsv)
TENANT_ID=$(az account show --query tenantId --output tsv)
CURRENT_DIR="$(cd "$(dirname "$0")" && pwd)"
# DNS
DNS_ZONE_RESOURCE_GROUP_NAME="dns-rg"
DNS_ZONE_NAME="babosbird.com"
SUBDOMAIN="planner.local"
# Registration address of the Let's Encrypt account used by the Gateway TLS certificate: expiry notices
# go here. Export ACME_EMAIL to use your own address.
ACME_EMAIL="${ACME_EMAIL:-admin@example.com}"
# Storage Account
STORAGE_ACCOUNT_NAME="${PREFIX}storage${SUFFIX}"
CONTAINER_NAME='activities'
# Docker Image
IMAGE_NAME="vacation-planner-identity"
IMAGE_PULL_POLICY="Always"
IMAGE_TAG="v1"
PORT="8080"
# Kubernetes
NAME="vacation-planner-identity"
NAMESPACE="vacation-planner-identity"
DEPLOYMENT_NAME="vacation-planner-identity"
SERVICE_NAME="vacation-planner-identity"
CONFIGMAP_NAME="vacation-planner-identity-config"
SECRET_NAME="vacation-planner-identity-secrets"
SERVICE_ACCOUNT_NAME="vacation-planner-identity-sa"
DEPLOY_GATEWAY="false"