From a1f480d18c0a251fce3c043912936613f2544afe Mon Sep 17 00:00:00 2001 From: eding Date: Fri, 18 Sep 2026 21:15:15 +0200 Subject: [PATCH] fix: flatten generated runtime hosts --- .../templates/delivery-pipeline.yaml.tmpl | 2 +- internal/bootstrap/bootstrap.go | 43 +++++++++++-------- internal/bootstrap/bootstrap_test.go | 11 +++++ 3 files changed, 38 insertions(+), 18 deletions(-) diff --git a/internal/assets/templates/delivery-pipeline.yaml.tmpl b/internal/assets/templates/delivery-pipeline.yaml.tmpl index 3c2a86d..5cc8ffb 100644 --- a/internal/assets/templates/delivery-pipeline.yaml.tmpl +++ b/internal/assets/templates/delivery-pipeline.yaml.tmpl @@ -167,7 +167,7 @@ spec: repository: $IMAGE tag: $TAG gateway: - hostname: $APP_NAME-pr-$PR_NUMBER.{{ .ClusterDomain }} + hostname: $APP_NAME-pr-$PR_NUMBER{{ .RuntimeHostnameSuffix }} EOF cat > "$app_dir/kustomization.yaml" <