Skip to content

Commit f4e55cf

Browse files
Update install-appcontrol.sh
1 parent be05fed commit f4e55cf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/config/install-appcontrol.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ ISSUER_EXISTS=$(kubectl get clusterissuer letsencrypt-issuer --no-headers 2>/dev
5454
read -rp "Do you want to enable TLS with Let's Encrypt? [Y/n]: " ENABLE_TLS
5555
ENABLE_TLS=${ENABLE_TLS:-Y}
5656

57+
APPS_EXTERNAL_URL="https://x4b.$MY_APPCONTROL_DOMAIN/apps"
58+
LOGIN_EXTERNAL_URL="https://x4b.$MY_APPCONTROL_DOMAIN/login"
59+
AUTH_INTERNAL_URL="http://x4b-services-authentication-svc:8080"
60+
5761
if [[ "$ENABLE_TLS" =~ ^[Yy]$ ]]; then
5862
TLS_ENABLED=true
5963
SSL_REDIRECT=true
@@ -67,16 +71,14 @@ if [[ "$ENABLE_TLS" =~ ^[Yy]$ ]]; then
6771
else
6872
TLS_ENABLED=false
6973
SSL_REDIRECT=false
74+
APPS_EXTERNAL_URL="http://x4b.$MY_APPCONTROL_DOMAIN/apps"
75+
LOGIN_EXTERNAL_URL="http://x4b.$MY_APPCONTROL_DOMAIN/login"
7076
fi
7177

7278
MY_SECRET_NAME="jwt-keys"
7379
CONFIGMAP_NAME="appcontrol-config"
7480
REPO="oci://x4bcontainerregistry.azurecr.io/helm"
7581

76-
APPS_EXTERNAL_URL="https://x4b.$MY_APPCONTROL_DOMAIN/apps"
77-
LOGIN_EXTERNAL_URL="https://x4b.$MY_APPCONTROL_DOMAIN/login"
78-
AUTH_INTERNAL_URL="http://x4b-services-authentication-svc:8080"
79-
8082
# === Confirmation ===
8183
echo -e "\n📋 Summary:"
8284
echo "Namespace: $NAMESPACE"
@@ -160,7 +162,7 @@ EOF
160162

161163
# === Deploy Helm charts ===
162164
echo "🚀 Installing x4b-services..."
163-
helm install appcontrol-services "$REPO/appcontrol-services" \
165+
helm install appcontrol-services "$REPO/x4b-services" \
164166
--namespace "$NAMESPACE" \
165167
--version "$CHART_X4B_SERVICES_VERSION" \
166168
-f generated/x4b-services-values.yaml

0 commit comments

Comments
 (0)