From 08f199130ff6fffb31b66381214a22b4424f877f Mon Sep 17 00:00:00 2001 From: Anshul Verma Date: Wed, 24 Apr 2024 15:55:00 +0530 Subject: [PATCH] Limiting KEYVAULT_PREFIX to 20 Chars We have set the char limit to 20 in our deployment template. Hence this env's value should also be atmost 20 char. It exceeds with a region with big name is chosed like australiaeast --- env-int.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/env-int.example b/env-int.example index 08e0d574c..ea40b6053 100644 --- a/env-int.example +++ b/env-int.example @@ -5,5 +5,6 @@ export RESOURCEGROUP=$USER-aro-$LOCATION export DATABASE_ACCOUNT_NAME=$USER-aro-$LOCATION export DATABASE_NAME=ARO export KEYVAULT_PREFIX=$USER-aro-$LOCATION +export KEYVAULT_PREFIX=${KEYVAULT_PREFIX::20} export ARO_IMAGE=${USER}aro.azurecr.io/aro:$(git rev-parse --short=7 HEAD)$([[ $(git status --porcelain) = "" ]] || echo -dirty) -export FLUENTBIT_IMAGE=${USER}aro.azurecr.io/fluentbit:latest \ No newline at end of file +export FLUENTBIT_IMAGE=${USER}aro.azurecr.io/fluentbit:latest