Skip to content

Commit 8cfab34

Browse files
committed
chore: adjust ingress ip check for k3d
1 parent bca49f9 commit 8cfab34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ start-ui:
3535
.PHONY: start-ui-k3d
3636
start-ui-k3d:
3737
$(MAKE) start-ui \
38-
GRAPHQL_API=https://lagoon-api.172.18.0.240.nip.io/graphql \
39-
KEYCLOAK_FRONTEND_URL=https://lagoon-keycloak.172.18.0.240.nip.io/auth \
38+
GRAPHQL_API=https://lagoon-api.$$(kubectl -n ingress-nginx get services ingress-nginx-controller -o jsonpath='{.status.loadBalancer.ingress[0].ip}').nip.io/graphql \
39+
KEYCLOAK_FRONTEND_URL=https://lagoon-keycloak.$$(kubectl -n ingress-nginx get services ingress-nginx-controller -o jsonpath='{.status.loadBalancer.ingress[0].ip}').nip.io/auth \
4040
AUTH_KEYCLOAK_SECRET=$$(kubectl -n lagoon-core get secrets lagoon-core-keycloak -o json | jq -r '.data["KEYCLOAK_LAGOON_UI_OIDC_CLIENT_SECRET"] | @base64d')
4141
docker network connect k3d lagoon-ui_ui_1
4242

0 commit comments

Comments
 (0)