File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ source ${SCRIPT_DIR}/base.sh
66source ${SCRIPT_DIR} /../../.local.env
77
88TENANT=dev
9- ENABLE_TLS=false
9+ ENABLE_TLS=true
1010INSTALL_CERT_MANAGER=false
1111
1212# Parse command line arguments
@@ -118,7 +118,7 @@ if [[ "$ENABLE_TLS" == "true" ]]; then
118118 KEYCLOAK_SUBDOMAIN=" keycloak-${TENANT} .local"
119119 KEYCLOAK_HOSTNAME=" ${KEYCLOAK_SUBDOMAIN} "
120120 KEYCLOAK_DOMAIN=" https://${KEYCLOAK_SUBDOMAIN} "
121- KEYCLOAK_INTERNAL_DOMAIN=" http ://sentrius-keycloak:8081 " # Internal cluster communication
121+ KEYCLOAK_INTERNAL_DOMAIN=" https ://${KEYCLOAK_SUBDOMAIN} " # Internal cluster communication
122122 SENTRIUS_DOMAIN=" https://${SUBDOMAIN} "
123123 CERTIFICATES_ENABLED=" true"
124124 INGRESS_TLS_ENABLED=" true"
Original file line number Diff line number Diff line change @@ -219,6 +219,9 @@ ingress:
219219 alb.ingress.kubernetes.io/ssl-redirect : " 443"
220220 local : # Local environment annotations (e.g., Minikube)
221221 kubernetes.io/ingress.class : nginx
222+ nginx.ingress.kubernetes.io/ssl-redirect : " {{ .Values.certificates.enabled | quote }}"
223+ nginx.ingress.kubernetes.io/force-ssl-redirect : " {{ .Values.certificates.enabled | quote }}"
224+ nginx.ingress.kubernetes.io/backend-protocol : " HTTP"
222225
223226
224227
You can’t perform that action at this time.
0 commit comments