Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a single port in the k8s quickstart #2497

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions quickstart/kubernetes/miniziti.bash
Original file line number Diff line number Diff line change
Expand Up @@ -799,12 +799,13 @@ main(){
}
local -a _controller_cmd=(upgrade --install "ziti-controller" "${ZITI_CHARTS_REF}/ziti-controller"
--namespace "${ZITI_NAMESPACE}" --create-namespace
--set ctrlPlane.advertisedHost="miniziti-controller-ctrl.${MINIZITI_INGRESS_ZONE}"
--set clientApi.advertisedHost="miniziti-controller.${MINIZITI_INGRESS_ZONE}"
--set trust-manager.app.trust.namespace="${ZITI_NAMESPACE}"
--set trust-manager.enabled=true
--set cert-manager.enabled=true
--values "${ZITI_CHARTS_URL}/ziti-controller/values-ingress-nginx.yaml"
--set ctrlPlane.service.enabled=false
--set ctrlPlane.ingress.enabled=false
)
if [[ -n "${EXTRA_VALUES_DIR:-}" && -s "${EXTRA_VALUES_DIR}/ziti-controller.yaml" ]]; then
_controller_cmd+=(--values "${EXTRA_VALUES_DIR}/ziti-controller.yaml")
Expand Down Expand Up @@ -971,10 +972,11 @@ EOF
--namespace "${ZITI_NAMESPACE}"
--set-file enrollmentJwt="$ROUTER_OTT"
--set edge.advertisedHost="miniziti-router.${MINIZITI_INGRESS_ZONE}"
--set linkListeners.transport.advertisedHost="miniziti-router-transport.${MINIZITI_INGRESS_ZONE}"
--set "ctrl.endpoint=ziti-controller-ctrl.${ZITI_NAMESPACE}.svc:443"
--set ctrl.endpoint="miniziti-controller.${MINIZITI_INGRESS_ZONE}:443"
--set "tunnel.mode=host"
--values "${ZITI_CHARTS_URL}/ziti-router/values-ingress-nginx.yaml"
--set linkListeners.transport.service.enabled=false
--set linkListeners.transport.ingress.enabled=false
)
if [[ -n "${EXTRA_VALUES_DIR:-}" && -s "${EXTRA_VALUES_DIR}/ziti-router.yaml" ]]; then
_router_cmd+=(--values "${EXTRA_VALUES_DIR}/ziti-router.yaml")
Expand Down
Loading